diff --git a/modules/maintenance/cleanup-toolkit-data.sh b/modules/maintenance/cleanup-toolkit-data.sh index 25272ab..49576e4 100755 --- a/modules/maintenance/cleanup-toolkit-data.sh +++ b/modules/maintenance/cleanup-toolkit-data.sh @@ -240,4 +240,13 @@ if [ "${missing:-0}" -gt 0 ]; then fi echo "" + +# Reset system detection cache so it re-detects on next menu display +unset SYS_DETECTION_COMPLETE +for var in $(compgen -e | grep "^SYS_"); do + unset "$var" +done +echo -e "${CYAN}[INFO]${NC} System detection cache cleared - will re-detect on next menu" +echo "" + press_enter