1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00

Merge branch 'maint'

This commit is contained in:
Dan McGee 2008-10-31 19:55:50 -05:00
commit 9394f229a0

View File

@ -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