Quinq likes redirects, so add them. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 2e8048456396f62c70125b0f1f368d26a5f3670f | |
parent 3bbecb9a5209657f6afc372ba25b921f7f0dc151 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sat, 13 Mar 2021 14:57:38 +0100 | |
Quinq likes redirects, so add them. | |
Diffstat: | |
M annna-add-hashtag | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-add-hashtag b/annna-add-hashtag | |
@@ -38,7 +38,7 @@ dltag() { | |
;; | |
*) | |
ext="$(basename "${uri}" | sed 's/^.*\.//')" | |
- curl -o "${stag}.${ext}" "${uri}" | |
+ curl -Lo "${stag}.${ext}" "${uri}" | |
if [ $? -gt 0 ]; | |
then | |
error=1 |