termux-reload, since the setup.sh file keeps getting deleted by git for unknown reasons, ensure it gets restored automatically.

This commit is contained in:
me
2026-08-25 08:43:39 -07:00
parent 4c5f9eca37
commit 4f28529537
+2
View File
@@ -130,6 +130,8 @@ function test-termux {
git -C "$PROJECT_TERMUX" switch "$BRANCH"
git -C "$PROJECT_TERMUX" pull --recurse-submodules || \
( echo "Failed to pull project, exiting." && return 1 )
# Something above is doing a 'D setup.sh', so ensure it gets recreated.
git -C "$PROJECT_TERMUX" restore setup.sh
else
log "`date` - Downloading '$PROJECT_TERMUX'.\n"
git clone https://git.hyperling.com/me/env-termux \