diff options
| author | David Kaufmann <astra@ionic.at> | 2017-04-26 01:22:10 +0200 |
|---|---|---|
| committer | David Kaufmann <astra@ionic.at> | 2017-04-26 01:22:10 +0200 |
| commit | cbea3b6f64ec81f3eeeb43b747a513a8be2eeb44 (patch) | |
| tree | a43d2f0d6c5e16f3a89e16d2be5dd85f50a6f811 /home | |
| parent | e1b999bf49f71d1c78ad8f53f0f9291cafd7e142 (diff) | |
| download | config-cbea3b6f64ec81f3eeeb43b747a513a8be2eeb44.tar.gz | |
allow redirects for curl
Diffstat (limited to 'home')
| -rwxr-xr-x | home/bin/config-update.sh | 2 |
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 |
