summaryrefslogtreecommitdiffstats
path: root/system/loksh
diff options
context:
space:
mode:
author Gene Carlson <kvngncrlsn@gmail.com>2024-02-24 19:50:33 +0900
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-25 23:37:01 +0700
commite86c88989e41be1d13ebb1967aa7325a1e7fbd0b (patch)
tree9ceda9403f4ad8eea6270d9c08b062fb040c3fa4 /system/loksh
parentf1c5edf873420dd43404a14cd61b2549feae4c89 (diff)
downloadslackbuilds-e86c88989e41be1d13ebb1967aa7325a1e7fbd0b.tar.gz
slackbuilds-e86c88989e41be1d13ebb1967aa7325a1e7fbd0b.tar.xz
system/loksh: Remove unwanted man page.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/loksh')
-rw-r--r--system/loksh/loksh.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/loksh/loksh.SlackBuild b/system/loksh/loksh.SlackBuild
index f8ffbc00be..bad256b659 100644
--- a/system/loksh/loksh.SlackBuild
+++ b/system/loksh/loksh.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for loksh
# Copyright 2018-2020 Hunter Sezen California, USA
-# Copyright 2023 K. Eugene Carlson Tsukuba, JP
+# Copyright 2023-2024 K. Eugene Carlson Tsukuba, JP
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=loksh
VERSION=${VERSION:-7.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -102,8 +102,9 @@ DESTDIR=$PKG "$NINJA" -C build install
mv -- $PKG/bin/ksh $PKG/bin/$PRGNAM
mv -- $PKG/usr/man/man1/ksh.1 $PKG/usr/man/man1/$PRGNAM.1
-mv -- $PKG/usr/man/man1/sh.1 $PKG/usr/man/man1/$PRGNAM-sh.1
mv -- $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
+# bash is the default sh in Slackware, so this page is unwanted.
+rm -f $PKG/usr/man/man1/sh.1
mkdir -p $PKG/usr/bin
ln -s /bin/$PRGNAM $PKG/usr/bin/$PRGNAM