From 4f28529537edd4befe7ba1d2c8a5ba47cd292561 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Tue, 25 Aug 2026 08:43:39 -0700 Subject: [PATCH] termux-reload, since the setup.sh file keeps getting deleted by git for unknown reasons, ensure it gets restored automatically. --- bashrc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bashrc.sh b/bashrc.sh index 0a0136b..33e8458 100755 --- a/bashrc.sh +++ b/bashrc.sh @@ -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 \