summaryrefslogtreecommitdiff
path: root/home/bin/config-update.sh
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2017-04-26 01:22:10 +0200
committerDavid Kaufmann <astra@ionic.at>2017-04-26 01:22:10 +0200
commitcbea3b6f64ec81f3eeeb43b747a513a8be2eeb44 (patch)
treea43d2f0d6c5e16f3a89e16d2be5dd85f50a6f811 /home/bin/config-update.sh
parente1b999bf49f71d1c78ad8f53f0f9291cafd7e142 (diff)
downloadconfig-cbea3b6f64ec81f3eeeb43b747a513a8be2eeb44.tar.gz
allow redirects for curl
Diffstat (limited to 'home/bin/config-update.sh')
-rwxr-xr-xhome/bin/config-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/bin/config-update.sh b/home/bin/config-update.sh
index 1c644a0..76880dc 100755
--- a/home/bin/config-update.sh
+++ b/home/bin/config-update.sh
@@ -7,7 +7,7 @@ cd ${HOME}
# fetch file from server
TMP=`mktemp -u --suffix=".tar.gz" "config-updater-XXXXXX"`
-curl -s "${URL}${FILE}" -o $TMP
+curl -L -s "${URL}${FILE}" -o $TMP
# check if file exists and is not empty
if [ -e $TMP ]; then