Closed sodhi closed 4 years ago
Well, --quiet
(-q
) and --no-show-progress
have different outputs, and I don't want it to be completely silent. What version does wget --version
output for you?
What does this command output for you?
wget --no-verbose https://downloads.plex.tv/plex-media-server-new/1.19.1.2701-6327e27bf/synology/PlexMediaServer-1.19.1.2701-6327e27bf-x86.spk -P /tmp
--no-verbose:
sodhi@NAS $ wget --no-verbose https://downloads.plex.tv/plex-media-server-new/1.19.1.2701-6327e27bf/synology/PlexMediaServer-1.19.1.2701-6327e27bf-x86.spk -P /tmp
2020-04-28 13:34:06 URL:https://downloads.plex.tv/plex-media-server-new/1.19.1.2701-6327e27bf/synology/PlexMediaServer-1.19.1.2701-6327e27bf-x86.spk [100341760/100341760] -> "/tmp/PlexMediaServer-1.19.1.2701-6327e27bf-x86.spk.1" [1]
--version
GNU Wget 1.15 built on linux-gnu.
+digest +https +ipv6 -iri +large-file -nls +ntlm +opie +ssl/openssl
Ok. Update your PR to change --no-show-progress
to --no-verbose
instead of -q
and I'll merge it! Note: you'll also need to remove the | awk '!/--| saved |^$/'
bit at the end of the line, since that's no longer relevant.
I suppose the line should just be
wget --no-verbose "$package_url" -P $tmp_dir
Done. I hope correctly. Not too used to github ;-)
Not all versions of wget (which differs between DSM versions) support "--no-show-progress", but "-q" always works (afaik). Your version fails on i.e. DSM 6.1.7.