diff options
author | Daniel Hansson <github@hanssonit.se> | 2021-06-19 22:06:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-19 22:06:36 +0300 |
commit | e7fc8dd4f2589c7d4c05048dedc13fb81d8491ec (patch) | |
tree | 9d2290e897bbc338ce229a1e36d586982de34b20 /disk | |
parent | 7c3c9a671c9fc39104cf28cc2c462d19d716e399 (diff) |
more apt fixes (#2028)
Signed-off-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'disk')
-rw-r--r-- | disk/smart-monitoring.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disk/smart-monitoring.sh b/disk/smart-monitoring.sh index 64521364..531ec3de 100644 --- a/disk/smart-monitoring.sh +++ b/disk/smart-monitoring.sh @@ -29,7 +29,7 @@ else reinstall_remove_menu "$SCRIPT_NAME" # Removal rm -f "$SCRIPTS/smart-notification.sh" - check_command apt purge smartmontools -y + check_command apt-get purge smartmontools -y apt-get autoremove -y rm -f /etc/smartd.conf # reset the cronjob @@ -99,7 +99,7 @@ then msg_box "It seems like not even one drive supports smart monitoring. This is completely normal if you run this script in a VM since virtual drives don't support smart monitoring. We will uninstall smart monitoring now since you won't get any helpful notification out of this going forward." - apt purge smartmontools -y + apt-get purge smartmontools -y apt-get autoremove -y exit 1 fi |