From cbea3b6f64ec81f3eeeb43b747a513a8be2eeb44 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Wed, 26 Apr 2017 01:22:10 +0200 Subject: allow redirects for curl --- home/bin/config-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/bin/config-update.sh') 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 -- cgit v1.2.3