[arch-general] [PATCH] Change pacman calls with -Sd flags to -Sdd
Jakob Gruber
jakob.gruber at gmail.com
Fri May 13 07:07:58 EDT 2011
The old pacman -d flag is now -dd since commit 111e07d0be44b7.
Signed-off-by: Jakob Gruber <jakob.gruber at gmail.com>
---
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'
--
1.7.5.1
More information about the arch-general
mailing list