Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2021-06-19 22:06:36 +0300
committerGitHub <noreply@github.com>2021-06-19 22:06:36 +0300
commite7fc8dd4f2589c7d4c05048dedc13fb81d8491ec (patch)
tree9d2290e897bbc338ce229a1e36d586982de34b20 /disk
parent7c3c9a671c9fc39104cf28cc2c462d19d716e399 (diff)
more apt fixes (#2028)
Signed-off-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'disk')
-rw-r--r--disk/smart-monitoring.sh4
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