Mail archive
alpine-devel

[alpine-devel] [PATCH] main/ppp: fix _mv function in APKBUILD

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Wed, 3 Dec 2014 20:12:46 +0200

---
 main/ppp/APKBUILD | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/main/ppp/APKBUILD b/main/ppp/APKBUILD
index 5302c87..1417be5 100644
--- a/main/ppp/APKBUILD
+++ b/main/ppp/APKBUILD
_at_@ -150,7 +150,9 @@ radius_doc() {
 
 _mv() {
 	install -m $2 -D "$pkgdir"/$1 "$subpkgdir"/$1
-	[ -n $3 ] && gzip -9 "$subpkgdir"/$1
+	if [ "$3" = "doc" ]; then
+		gzip -9 "$subpkgdir"/$1
+	fi
 	rm "$pkgdir"/$1
 }
 md5sums="78818f40e6d33a1d1de68a1551f6595a  ppp-2.4.7.tar.gz
-- 
2.2.0
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Dec 03 2014 - 20:12:46 GMT