Commit bfa8500e authored by Sören Tempel's avatar Sören Tempel Committed by Francesco Colista

main/mksh: add /usr/bin/mksh to /etc/shells

parent 5f4dc002
......@@ -2,7 +2,7 @@
pkgname=mksh
pkgver=50f
_pkgver=R50f
pkgrel=0
pkgrel=1
pkgdesc="MirBSD KSH Shell"
url="http://mirbsd.de/mksh"
arch="all"
......@@ -10,7 +10,7 @@ license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
install="mksh.post-install mksh.post-upgrade mksh.pre-deinstall"
subpackages="$pkgname-doc"
source="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$_pkgver.tgz"
......
#!/bin/sh
grep -q '/usr/bin/mksh' /etc/shells || echo '/usr/bin/mksh' >> /etc/shells
exit 0
mksh.post-install
\ No newline at end of file
#!/bin/sh
sed -i '/^\/usr\/bin\/mksh/d' /etc/shells
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment