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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

Signed-off-by: Jakob Gruber <jakob.gruber@xxxxxxxxx>
---
 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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux