aboutsummaryrefslogtreecommitdiff
path: root/system/oksh
diff options
context:
space:
mode:
Diffstat (limited to 'system/oksh')
-rw-r--r--system/oksh/douninst.sh3
-rw-r--r--system/oksh/oksh.SlackBuild5
-rw-r--r--system/oksh/oksh.info6
3 files changed, 9 insertions, 5 deletions
diff --git a/system/oksh/douninst.sh b/system/oksh/douninst.sh
new file mode 100644
index 0000000000..639c44f169
--- /dev/null
+++ b/system/oksh/douninst.sh
@@ -0,0 +1,3 @@
+if [ -e etc/shells ]; then
+ sed -i "/^\/bin\/oksh$/d" etc/shells
+fi
diff --git a/system/oksh/oksh.SlackBuild b/system/oksh/oksh.SlackBuild
index ae38e5f9b3..a99a03ffcd 100644
--- a/system/oksh/oksh.SlackBuild
+++ b/system/oksh/oksh.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for oksh
# Copyright 2019-2020 Hunter Sezen California, USA
-# Copyright 2023-2024 Samuel Young, MO, USA
+# Copyright 2023-2025 Samuel Young, MO, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=oksh
-VERSION=${VERSION:-7.6}
+VERSION=${VERSION:-7.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -99,6 +99,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+cat $CWD/douninst.sh > $PKG/install/douninst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/oksh/oksh.info b/system/oksh/oksh.info
index bbf3ebc892..b35b7247ab 100644
--- a/system/oksh/oksh.info
+++ b/system/oksh/oksh.info
@@ -1,8 +1,8 @@
PRGNAM="oksh"
-VERSION="7.6"
+VERSION="7.7"
HOMEPAGE="https://github.com/ibara/oksh"
-DOWNLOAD="https://github.com/ibara/oksh/releases/download/oksh-7.6/oksh-7.6.tar.gz"
-MD5SUM="cb1696e509adf29372b2dd76561bd596"
+DOWNLOAD="https://github.com/ibara/oksh/releases/download/oksh-7.7/oksh-7.7.tar.gz"
+MD5SUM="b272b7b58a54a2f1eb3908af80c6bbf6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""