X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 4350FDC0BE6; Fri, 5 Dec 2014 13:52:35 +0000 (UTC) Date: Fri, 5 Dec 2014 14:52:32 +0100 From: Natanael Copa To: Valery Kartel Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] main/ppp: fix _mv function in APKBUILD Message-ID: <20141205145232.3082d74b@ncopa-desktop.alpinelinux.org> In-Reply-To: <1417630366-8708-1-git-send-email-valery.kartel@gmail.com> References: <1417628758-3559-1-git-send-email-valery.kartel@gmail.com> <1417630366-8708-1-git-send-email-valery.kartel@gmail.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.23; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 3 Dec 2014 20:12:46 +0200 Valery Kartel wrote: > --- > 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 abuild will compress man pages for you. you dont need to do it manually. We normally ship a common -doc subpackage that includes docs for all subpackages. So, ppp-chat-doc and ppp-radius-doc should all go into ppp-doc. It keeps things simpler. i fixed that. Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---