This commit is contained in:
2025-10-11 18:39:28 -03:00
parent b29836ee79
commit df24c3876e
4 changed files with 5 additions and 5 deletions

View File

@@ -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