From f1f33dca5f5c8255fbed7b312aa3a05d6e36bb25 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Aug 2012 10:53:47 +0200 Subject: [PATCH] util-linux: fix sg(1) symlink. --- srcpkgs/util-linux/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index d8f8d420312..b55129ac206 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -4,7 +4,7 @@ _distver=2.22 _patchver=rc2 wrksrc=${pkgname}-${_distver}-${_patchver} version=${_distver}${_patchver} -revision=3 +revision=4 depends="coreutils shadow>=4.1.5.1_3" makedepends="pkg-config zlib-devel ncurses-devel pam-devel" replaces="util-linux-ng>=0 e2fsprogs<=1.41.14_1 eject>=0 shadow<4.1.5.1_3" @@ -60,5 +60,5 @@ do_install() { vinstall $FILESDIR/common.pam 644 etc/pam.d chsh # Provide sg(1) symlink. - ln -sfr /usr/bin/newgrp ${DESTDIR}/usr/bin/sg + cd ${DESTDIR}/usr/bin && ln -sf newgrp sg }