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 @@ ...@@ -2,7 +2,7 @@
pkgname=mksh pkgname=mksh
pkgver=50f pkgver=50f
_pkgver=R50f _pkgver=R50f
pkgrel=0 pkgrel=1
pkgdesc="MirBSD KSH Shell" pkgdesc="MirBSD KSH Shell"
url="" url=""
arch="all" arch="all"
...@@ -10,7 +10,7 @@ license="BSD" ...@@ -10,7 +10,7 @@ license="BSD"
depends="" depends=""
depends_dev="" depends_dev=""
makedepends="$depends_dev" makedepends="$depends_dev"
install="" install=" mksh.pre-deinstall"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="$pkgname-$_pkgver.tgz" source="$pkgname-$_pkgver.tgz"
grep -q '/usr/bin/mksh' /etc/shells || echo '/usr/bin/mksh' >> /etc/shells
exit 0
\ No newline at end of file
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