mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
Merge branch 'maint'
This commit is contained in:
commit
9394f229a0
@ -307,12 +307,12 @@ download_file() {
|
||||
|
||||
# replace %o by the temporary dlfile if it exists
|
||||
if echo "$dlcmd" | grep -q "%o" ; then
|
||||
dlcmd=${dlcmd//%o/$file.part}
|
||||
dlcmd=${dlcmd//\%o/$file.part}
|
||||
dlfile="$file.part"
|
||||
fi
|
||||
# add the url, either in place of %u or at the end
|
||||
if echo "$dlcmd" | grep -q "%u" ; then
|
||||
dlcmd=${dlcmd//%u/$url}
|
||||
dlcmd=${dlcmd//\%u/$url}
|
||||
else
|
||||
dlcmd="$dlcmd $url"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user