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
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2022-01-13 14:07:49 +0300
committerGitHub <noreply@github.com>2022-01-13 14:07:49 +0300
commit3bcce94e87433b5d9e8885dcc45742c157814a12 (patch)
tree3378536a6ca2e5fb7cea3248bdc115f4272ee48c /apps/webmin.sh
parent4601a38f82c5470a13a0ec969231769b3f8fcc29 (diff)
try to clear cache before the install
Diffstat (limited to 'apps/webmin.sh')
-rw-r--r--apps/webmin.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/webmin.sh b/apps/webmin.sh
index 0908aa74..1b43b1f2 100644
--- a/apps/webmin.sh
+++ b/apps/webmin.sh
@@ -54,6 +54,10 @@ install_if_not python
install_if_not unzip
install_if_not zip
+# https://github.com/webmin/webmin/issues/1169
+apt-get clean all
+apt-get update -q4 & spinner_loading
+
# Install Webmin
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"