Add subcmd resetfirstrun

This commit is contained in:
clsty
2025-11-12 21:25:25 +08:00
parent 318d80de38
commit 9997fdce0c
6 changed files with 38 additions and 3 deletions
+2
View File
@@ -344,6 +344,7 @@ function backup_clashing_targets(){
x mkdir -p $backup_dir
x rsync -av --progress "${args_includes[@]}" "$target_dir/" "$backup_dir/"
}
function install_cmds(){
case $OS_GROUP_ID in
"arch")
@@ -401,6 +402,7 @@ function install_cmds(){
;;
esac
}
function ensure_cmds(){
local not_found_cmds=()
for cmd in "$@"; do