forked from Mirrors/Dispatcharr
Merge pull request #334 from RocketCaptain/main
indentation in the `clone_dispatcharr_repo` function for consistency …
This commit is contained in:
commit
58446fdd33
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