From 3977519c43e693c0ce024fac1d6c81915c427339 Mon Sep 17 00:00:00 2001 From: link Date: Sun, 30 Jan 2022 11:21:24 +0800 Subject: [PATCH] Update assist.sh --- shell/assist.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/shell/assist.sh b/shell/assist.sh index c156aa5..7d2255d 100644 --- a/shell/assist.sh +++ b/shell/assist.sh @@ -11,7 +11,7 @@ version_0_2_3() { # add in v0.2.5 -readonly CASA_DEPANDS="curl smartmontools parted fdisk partprobe" +readonly CASA_DEPANDS="curl smartmontools parted fdisk" version_0_2_5() { install_depends "$CASA_DEPANDS" @@ -22,7 +22,6 @@ version_0_2_5() { install_depends() { ((EUID)) && sudo_cmd="sudo" if [[ ! -x "$(command -v '$1')" ]]; then - show 2 "Install the necessary dependencies: $1" packagesNeeded=$1 if [ -x "$(command -v apk)" ]; then $sudo_cmd apk add --no-cache $packagesNeeded @@ -32,8 +31,6 @@ install_depends() { $sudo_cmd dnf install $packagesNeeded elif [ -x "$(command -v zypper)" ]; then $sudo_cmd zypper install $packagesNeeded - else - show 1 "Package manager not found. You must manually install: $packagesNeeded" fi fi }