summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Gruber <jakob.gruber@gmail.com>2011-05-13 13:32:30 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-05-16 18:19:19 +0200
commit6d4367de350bedc407534ee1a80e177604789371 (patch)
tree57954adf641a6cc537c1832a88a9d516ba43bf61
parent5df1f9bd6d2a92ce87769f622ce677a7372bbf02 (diff)
downloaddevtools32-6d4367de350bedc407534ee1a80e177604789371.tar.xz
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>
-rwxr-xr-xcheckpkg2
-rwxr-xr-xmkarchroot2
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'