Rename scripts, move into sdata/step

This commit is contained in:
clsty
2025-10-18 00:54:58 +08:00
parent 731beb0f7c
commit 7c21ec0c5a
6 changed files with 56 additions and 71 deletions
+1 -11
View File
@@ -17,17 +17,6 @@ This script updates your dotfiles by:
5. Updating script permissions
"
}
0
;;
shift
;;
*)
log_error "Unknown option: $1"
echo "Use --help for usage information"
exit 1
;;
esac
done
# `man getopt` to see more
para=$(getopt \
-o hfpnv \
@@ -52,6 +41,7 @@ FORCE_CHECK=false
CHECK_PACKAGES=false
DRY_RUN=false
VERBOSE=false
SKIP_NOTICE=false
eval set -- "$para"
while true ; do
-7
View File
@@ -43,13 +43,6 @@ while true ; do
--exp-files) EXPERIMENTAL_FILES_SCRIPT=true;shift;;
--via-nix) INSTALL_VIA_NIX=true;shift;;
## Update script specific options
-u|--update-force) UPDATE_FORCE=true;shift;;
-p|--packages) UPDATE_PACKAGES=true;shift;;
-n|--dry-run) UPDATE_DRY_RUN=true;shift;;
-v|--verbose) UPDATE_VERBOSE=true;shift;;
--skip-notice) SKIP_NOTICE=true;shift;;
## Ones with parameter
--fontset)
case $2 in