Re: [arch-general] [PATCH] Change pacman calls with -Sd flags to -Sdd

2011-05-13 Thread Lukas Fleischer
On Fri, May 13, 2011 at 01:07:58PM +0200, Jakob Gruber wrote:
> The old pacman -d flag is now -dd since commit 111e07d0be44b7.
> 
> Signed-off-by: Jakob Gruber 
> ---
>  checkpkg   |2 +-
>  mkarchroot |2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

You should probably rather send this to the arch-projects mailing list.


[arch-general] [PATCH] Change pacman calls with -Sd flags to -Sdd

2011-05-13 Thread Jakob Gruber
The old pacman -d flag is now -dd since commit 111e07d0be44b7.

Signed-off-by: Jakob Gruber 
---
 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