From 2a19fe7ff86f5316a8675e8ba2db309a6bfc5371 Mon Sep 17 00:00:00 2001 From: ipitio <21136719+ipitio@users.noreply.github.com> Date: Sat, 27 Apr 2024 07:44:47 -0400 Subject: [PATCH] fetch tags on uninstall --- advanced/Scripts/speedtestmod/mod.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/Scripts/speedtestmod/mod.sh b/advanced/Scripts/speedtestmod/mod.sh index a26927524a..b978cc127f 100755 --- a/advanced/Scripts/speedtestmod/mod.sh +++ b/advanced/Scripts/speedtestmod/mod.sh @@ -545,8 +545,8 @@ if [[ "${SKIP_MOD:-}" != true ]]; then [[ ! -d $MOD_DIR ]] || rm -rf $MOD_DIR swapScripts - if $update; then - for repo in $HTML_DIR/admin; do + if $update || $uninstall; then + for repo in $CORE_DIR $HTML_DIR/admin; do pushd "$repo" &>/dev/null || exit 1 git tag -l | xargs git tag -d >/dev/null 2>&1 git fetch --tags -f -q