🐛 Fixed lsblk dependency and added upgrade command to manager

This commit is contained in:
Geoff Murphy 2025-05-13 14:59:13 +10:00
parent b7bfbe0a04
commit 1c1f38c7b4
2 changed files with 5 additions and 3 deletions

View file

@ -47,6 +47,7 @@ FAKE_DEP=""
if [ ! "$(command -v git)" ]; then FAKE_DEP="$FAKE_DEP git"; fi if [ ! "$(command -v git)" ]; then FAKE_DEP="$FAKE_DEP git"; fi
if [ ! "$(command -v curl)" ]; then FAKE_DEP="$FAKE_DEP curl"; fi if [ ! "$(command -v curl)" ]; then FAKE_DEP="$FAKE_DEP curl"; fi
if [ ! "$(command -v figlet)" ]; then FAKE_DEP="$FAKE_DEP figlet"; fi if [ ! "$(command -v figlet)" ]; then FAKE_DEP="$FAKE_DEP figlet"; fi
if [ ! "$(command -v lsblk)" ]; then FAKE_DEP="$FAKE_DEP lsblk"; fi
if [ ! "$(command -v rsync)" ]; then FAKE_DEP="$FAKE_DEP rsync"; fi if [ ! "$(command -v rsync)" ]; then FAKE_DEP="$FAKE_DEP rsync"; fi
if [ ! "$(command -v sudo)" ]; then FAKE_DEP="$FAKE_DEP sudo"; fi if [ ! "$(command -v sudo)" ]; then FAKE_DEP="$FAKE_DEP sudo"; fi
if [ ! "$(command -v vim)" ]; then FAKE_DEP="$FAKE_DEP vim"; fi if [ ! "$(command -v vim)" ]; then FAKE_DEP="$FAKE_DEP vim"; fi

View file

@ -246,11 +246,12 @@ elif [ "$1" == "search" ]; then _fake_search "$VARS"
elif [ "$1" == "start" ]; then _fake_start "$VARS" elif [ "$1" == "start" ]; then _fake_start "$VARS"
elif [ "$1" == "stop" ]; then _fake_stop "$VARS" elif [ "$1" == "stop" ]; then _fake_stop "$VARS"
elif [ "$1" == "restart" ]; then _fake_restart "$VARS" elif [ "$1" == "restart" ]; then _fake_restart "$VARS"
elif [ "$1" == "status" ]; then _fake_restart "$VARS" elif [ "$1" == "status" ]; then _fake_status "$VARS"
elif [ "$1" == "enable" ]; then _fake_enable "$VARS" elif [ "$1" == "enable" ]; then _fake_enable "$VARS"
elif [ "$1" == "disable" ]; then _fake_disable "$VARS" elif [ "$1" == "disable" ]; then _fake_disable "$VARS"
#--------[ Other Commands ]--------# #--------[ Other Commands ]--------#
elif [ "$1" == "flush" ]; then _fake_flush elif [ "$1" == "flush" ]; then _fake_flush
elif [ "$1" == "upgrade" ]; then _fake_upgrade
elif [ "$1" == "help" ]; then _fake_help elif [ "$1" == "help" ]; then _fake_help
#--------[ Error Catching ]--------# #--------[ Error Catching ]--------#
else else