forked from Mirrors/Dispatcharr
indentation in the clone_dispatcharr_repo function for consistency and readability:
- Unindented `EOSU` marker and `else` block - Aligned code structure within the conditional blocks
This commit is contained in:
parent
750bf90576
commit
4942393842
1 changed files with 7 additions and 7 deletions
14
debian_install.sh
Normal file → Executable file
14
debian_install.sh
Normal file → Executable file
|
|
@ -146,13 +146,13 @@ clone_dispatcharr_repo() {
|
|||
git fetch origin
|
||||
git checkout $DISPATCH_BRANCH
|
||||
git pull origin $DISPATCH_BRANCH
|
||||
EOSU
|
||||
else
|
||||
echo ">>> Cloning Dispatcharr repo into ${APP_DIR}..."
|
||||
rm -rf "$APP_DIR"/*
|
||||
chown "$DISPATCH_USER:$DISPATCH_GROUP" "$APP_DIR"
|
||||
su - "$DISPATCH_USER" -c "git clone -b $DISPATCH_BRANCH https://github.com/Dispatcharr/Dispatcharr.git $APP_DIR"
|
||||
fi
|
||||
EOSU
|
||||
else
|
||||
echo ">>> Cloning Dispatcharr repo into ${APP_DIR}..."
|
||||
rm -rf "$APP_DIR"/*
|
||||
chown "$DISPATCH_USER:$DISPATCH_GROUP" "$APP_DIR"
|
||||
su - "$DISPATCH_USER" -c "git clone -b $DISPATCH_BRANCH https://github.com/Dispatcharr/Dispatcharr.git $APP_DIR"
|
||||
fi
|
||||
}
|
||||
|
||||
##############################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue