Change pacman calls with -Sd flags to -Sdd

The old pacman -d flag is now -dd since commit 111e07d0be44b7.

Signed-off-by: Jakob Gruber <jakob.gruber@gmail.com>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Jakob Gruber 2011-05-13 13:32:30 +02:00 committed by Pierre Schmitz
parent 5df1f9bd6d
commit 6d4367de35
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ for _pkgname in ${pkgname[@]}; do
exit 1
fi
tmp=`pacman -Spd --noconfirm $_pkgname`
tmp=`pacman -Spdd --noconfirm $_pkgname`
if [ $? -ne 0 ]; then
echo "Couldn't download previous package for $_pkgname."

View File

@ -73,7 +73,7 @@ if [ -z "$cache_dir" ]; then
fi
if [ -f /etc/pacman.d/mirrorlist ]; then
host_mirror=$(pacman -Sdp extra/devtools 2>/dev/null | sed -E 's#(.*/)extra/os/.*#\1$repo/os/$arch#')
host_mirror=$(pacman -Sddp extra/devtools 2>/dev/null | sed -E 's#(.*/)extra/os/.*#\1$repo/os/$arch#')
fi
if [ -z "${host_mirror}" ]; then
host_mirror='http://mirrors.kernel.org/archlinux/$repo/os/$arch'