1.11
This commit is contained in:
@@ -18,11 +18,11 @@ fi
|
||||
if [ -d "$INSTALL_DIR/.git" ]; then
|
||||
echo "Existing repo detected. Pulling latest..."
|
||||
git -C "$INSTALL_DIR" fetch origin
|
||||
git -C "$INSTALL_DIR" checkout alpha
|
||||
git -C "$INSTALL_DIR" pull --rebase --autostash origin alpha || true
|
||||
git -C "$INSTALL_DIR" checkout main
|
||||
git -C "$INSTALL_DIR" pull --rebase --autostash origin main || true
|
||||
else
|
||||
rm -rf "$INSTALL_DIR"
|
||||
git clone --depth 1 --branch alpha "$REPO_URL" "$INSTALL_DIR"
|
||||
git clone --depth 1 --branch main "$REPO_URL" "$INSTALL_DIR"
|
||||
fi
|
||||
|
||||
# Ensure executables are present & executable
|
||||
|
||||
Reference in New Issue
Block a user