From ff114bbd0dcad2c56b7ed873b5791425a10b1aed Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 31 Oct 2015 11:20:43 +0100 Subject: [PATCH] dash: register 'sh' alternatives group. --- srcpkgs/dash/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/dash/template b/srcpkgs/dash/template index 81dc0a45c1..18d4b53274 100644 --- a/srcpkgs/dash/template +++ b/srcpkgs/dash/template @@ -1,7 +1,7 @@ # Template file for 'dash' pkgname=dash version=0.5.8 -revision=4 +revision=5 build_pie=yes build_style=gnu-configure hostmakedepends="bison" @@ -13,7 +13,6 @@ license="BSD" distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz" checksum=c6db3a237747b02d20382a761397563d813b306c020ae28ce25a1c3915fac60f -post_install() { - ln -s dash ${DESTDIR}/usr/bin/sh - ln -s dash.1 ${DESTDIR}/usr/share/man/man1/sh.1 -} +alternatives=" + sh:/usr/bin/sh:/usr/bin/dash + sh:/usr/share/man/man1/sh.1:/usr/share/man/man1/dash.1"