mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/etsh: Add /bin/etsh to /etc/shells.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
9acd8ddac9
commit
3822b9d63d
2 changed files with 6 additions and 1 deletions
1
system/etsh/doinst.sh
Normal file
1
system/etsh/doinst.sh
Normal file
|
@ -0,0 +1 @@
|
|||
grep -q '^/bin/etsh$' etc/shells 2>/dev/null || echo "/bin/etsh" >> etc/shells
|
|
@ -18,6 +18,9 @@
|
|||
# The name means "Extended Thompson Shell", it's nothing to do with
|
||||
# phoning home...
|
||||
|
||||
# 20220507 bkw, BUILD=2:
|
||||
# - add doinst.sh: add /bin/etsh to /etc/shells, but not /bin/tsh
|
||||
# per upstream's recommendation.
|
||||
# 20191201 bkw: updated for v5.4.0.
|
||||
# 20180902 bkw: updated for v5.3.1.
|
||||
|
||||
|
@ -27,7 +30,7 @@ PRGNAM=etsh
|
|||
VERSION=${VERSION:-5.4.0} # main etsh version
|
||||
V6S_VER=${V6S_VER:-20180109} # v6scripts version
|
||||
LT_VER=${LT_VER:-20180115} # looptest version
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -102,6 +105,7 @@ cat $CWD/$PRGNAM.SlackBuild > $DOCDIR/$PRGNAM.SlackBuild
|
|||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
|
||||
|
|
Loading…
Reference in a new issue