[pacman-dev] [PATCH 2/2] pacscripts: No need to run as root.

Karol Błażewicz karol.blazewicz at gmail.com
Tue Jun 11 17:16:20 EDT 2013


Signed-off-by: Karol Błażewicz <karol.blazewicz at gmail.com>
---
 contrib/pacscripts.sh.in | 4 ++--
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/pacscripts.sh.in b/contrib/pacscripts.sh.in
index 4ecebde..2844f19 100644
--- a/contrib/pacscripts.sh.in
+++ b/contrib/pacscripts.sh.in
@@ -113,7 +113,7 @@ print_scriptlet() {
 		error "Package $1 not found"
 		return 1
 	fi
-	url=$(spacman -Sdp $1 | tail -n1)
+	url=$(pacman -Sdp $1 | tail -n1)
 	filename=$(basename $url)
 	if [ ! -f "$pac_cache/$filename" ]; then
 		if ! spacman -Sdw --noconfirm $1 >&2; then
-- 
1.8.3.1



More information about the pacman-dev mailing list