util-linux: fix sg(1) symlink.

This commit is contained in:
Juan RP 2012-08-28 10:53:47 +02:00
parent f30382b084
commit f1f33dca5f
1 changed files with 2 additions and 2 deletions

View File

@ -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
}