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>2019-04-10 23:00:36 +0300
committerGitHub <noreply@github.com>2019-04-10 23:00:36 +0300
commit5f840d5e8f4f061bf3e83a48d268ff05142bff7c (patch)
treec49037d2d1ff5b9dd1e4ae0517f3a9032fb1d6a5 /apps/adminer.sh
parent71104d55237c82d50ff5a3b17285d00eed201d8c (diff)
replace wget with curl (#812)
Signed-off-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'apps/adminer.sh')
-rw-r--r--apps/adminer.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/adminer.sh b/apps/adminer.sh
index a2ebe741..72a2c8ab 100644
--- a/apps/adminer.sh
+++ b/apps/adminer.sh
@@ -35,8 +35,8 @@ check_distro_version
# Install Adminer
apt update -q4 & spinner_loading
install_if_not adminer
-sudo wget -q "http://www.adminer.org/latest.php" -O "$ADMINERDIR"/latest.php
-sudo ln -s "$ADMINERDIR"/latest.php "$ADMINERDIR"/adminer.php
+curl_to_dir "http://www.adminer.org" "latest.php" "$ADMINERDIR"
+ln -s "$ADMINERDIR"/latest.php "$ADMINERDIR"/adminer.php
cat << ADMINER_CREATE > "$ADMINER_CONF"
Alias /adminer.php $ADMINERDIR/adminer.php