X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from relay1.infogroup.kiev.ua (tera.infogroup.kiev.ua [195.144.25.26]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 25A7FDC01BF for ; Wed, 3 Dec 2014 18:12:14 +0000 (UTC) Received: from aveo.com.ua ([195.144.25.27] helo=localhost) by relay1.infogroup.kiev.ua with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1XwEPM-0004fv-Hg; Wed, 03 Dec 2014 20:12:12 +0200 From: Valery Kartel To: alpine-devel@lists.alpinelinux.org Cc: Valery Kartel Subject: [alpine-devel] [PATCH] main/ppp: fix _mv function in APKBUILD Date: Wed, 3 Dec 2014 20:12:46 +0200 Message-Id: <1417630366-8708-1-git-send-email-valery.kartel@gmail.com> X-Mailer: git-send-email 2.2.0 In-Reply-To: <1417628758-3559-1-git-send-email-valery.kartel@gmail.com> References: <1417628758-3559-1-git-send-email-valery.kartel@gmail.com> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- 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 @@ -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@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---