diff options
author | Daniel Hansson <github@hanssonit.se> | 2021-06-18 14:20:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 14:20:04 +0300 |
commit | 7c3c9a671c9fc39104cf28cc2c462d19d716e399 (patch) | |
tree | 2bc68fc5131f03ab5ab4d7d6c87e5497a1cec82c /apps/webmin.sh | |
parent | 5b04abac6e54e0f6383f96001615af1c13ac655a (diff) |
change to apt-get instead of apt (#2027)
Signed-off-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'apps/webmin.sh')
-rw-r--r-- | apps/webmin.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/webmin.sh b/apps/webmin.sh index 17075849..728a57f7 100644 --- a/apps/webmin.sh +++ b/apps/webmin.sh @@ -32,7 +32,7 @@ else reinstall_remove_menu "$SCRIPT_NAME" # Removal check_command apt-get purge webmin -y - apt autoremove -y + apt-get autoremove -y rm -f /etc/apt/sources.list.d/webmin.list rm -f /etc/apt/trusted.gpg.d/webmin.gpg # Show successful uninstall if applicable @@ -55,7 +55,7 @@ curl_to_dir http://www.webmin.com "jcameron-key.asc" "$SCRIPTS" check_command apt-key --keyring /etc/apt/trusted.gpg.d/webmin.gpg add "$SCRIPTS/jcameron-key.asc" rm -f "$SCRIPTS/jcameron-key.asc" echo "deb https://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list -apt update -q4 & spinner_loading +apt-get update -q4 & spinner_loading install_if_not webmin print_text_in_color "$ICyan" "Configuring Webmin..." |