diff options
author | B. Watson <urchlay@slackware.uk> | 2024-08-08 03:16:20 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-08-08 03:16:20 -0400 |
commit | e2df3ea1f93e6b17023fe1e774368f38a5f749b3 (patch) | |
tree | 7443e722e29bdf3761088c9038780e425cc6937c | |
parent | 17847a4e00b6637626bd13f3adea30916a675461 (diff) | |
download | sbo-maintainer-tools-e2df3ea1f93e6b17023fe1e774368f38a5f749b3.tar.gz |
sbodl: disable content-disposition for sourceforge.net
-rwxr-xr-x | sbodl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -242,7 +242,9 @@ for dl in $DL; do EXTRAWGETARGS="$CONTDISP" case "$dl" in - *sourceforge.net/*|*.sf.net/*) EXTRAWGETARGS="$EXTRAWGETARGS --user-agent wget" ;; + # sourceforge can't use content-disposition, because some of its + # mirrors add '?viasf=1' to the filename in the header. + *sourceforge.net/*|*.sf.net/*) EXTRAWGETARGS="--user-agent wget" ;; *) ;; esac |