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 }