general upgrades and adds adb and ulauncher addon
This commit is contained in:
10
bin/dotf
10
bin/dotf
@ -28,6 +28,15 @@ update() {
|
||||
"$update_script" $@
|
||||
}
|
||||
|
||||
upgrade() {
|
||||
local upgrade_script="$DOTFILES_BIN/actions/upgrade.sh"
|
||||
if [[ ! -x "$upgrade_script" ]]; then
|
||||
printfe "%s\n" "red" "Error: Upgrade script not found or not executable"
|
||||
return 1
|
||||
fi
|
||||
"$upgrade_script" $@
|
||||
}
|
||||
|
||||
term() {
|
||||
local term_script="$DOTFILES_BIN/actions/term.sh"
|
||||
if [[ ! -x "$term_script" ]]; then
|
||||
@ -114,6 +123,7 @@ main() {
|
||||
# Parse commands
|
||||
case "${1:-help}" in
|
||||
update) shift; update "$@" ;;
|
||||
upgrade) shift; upgrade "$@" ;;
|
||||
help) shift; help "$@" ;;
|
||||
term) shift; term "$@" ;;
|
||||
secrets) shift; secrets "$@" ;;
|
||||
|
Reference in New Issue
Block a user