From 6d4367de350bedc407534ee1a80e177604789371 Mon Sep 17 00:00:00 2001 From: Jakob Gruber Date: Fri, 13 May 2011 13:32:30 +0200 Subject: Change pacman calls with -Sd flags to -Sdd The old pacman -d flag is now -dd since commit 111e07d0be44b7. Signed-off-by: Jakob Gruber Signed-off-by: Pierre Schmitz --- checkpkg | 2 +- mkarchroot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/checkpkg b/checkpkg index e669718..01c921e 100755 --- a/checkpkg +++ b/checkpkg @@ -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." diff --git a/mkarchroot b/mkarchroot index f385731..5b6be88 100755 --- a/mkarchroot +++ b/mkarchroot @@ -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' -- cgit v1.2.3-70-g09d2