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 | |
| parent | e1b999bf49f71d1c78ad8f53f0f9291cafd7e142 (diff) | |
| download | config-cbea3b6f64ec81f3eeeb43b747a513a8be2eeb44.tar.gz | |
allow redirects for curl
| -rwxr-xr-x | home/bin/config-update.sh | 2 | ||||
| -rwxr-xr-x | src/zshrc.sh | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/src/zshrc.sh b/src/zshrc.sh index ab04605..72d0069 100755 --- a/src/zshrc.sh +++ b/src/zshrc.sh @@ -5,4 +5,4 @@ BASEDIR=`dirname $(readlink -f $0)` cd ${BASEDIR}/../ rm -f gen/.zshrc -curl -s http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc -o gen/.zshrc +curl -L -s http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc -o gen/.zshrc |
