Deprecate install.sh in favor of setup

Still decide to deprecate install.sh cuz TAB completion can not be done
without intrusive and automatic method, so just use ./setup instead.
This commit is contained in:
clsty
2025-10-19 11:22:24 +08:00
parent f673cae32b
commit 2014a030d6
3 changed files with 26 additions and 29 deletions
+5 -9
View File
@@ -1,14 +1,10 @@
#!/usr/bin/env bash
# TODO: Handle TAB completion for ./setup with non-intrusive method,
# or other shortcut helper like TUI.
# After that, remove this script (install.sh).
#STY_RED='\e[31m'
#STY_RST='\e[00m'
#printf "${STY_RED}You are using \"./install.sh\" which is kept for compatibility and will be removed in future.\n"
#printf "Please use \"./setup install\" instead.${STY_RST}\n"
# Remove this script (install.sh) after 2025.12.01
STY_RED='\e[31m'
STY_RST='\e[00m'
printf "${STY_RED}You are using \"./install.sh\" which is kept for compatibility and will be removed in future.\n"
printf "Please use \"./setup install\" instead.${STY_RST}\n"
cd "$(dirname "$0")"
./setup install "$@"