Commits

William Giokas  committed 9852960

mksh-ks: Update the install file

  • Participants
  • Parent commits 2a2cb27

Comments (0)

Files changed (2)

File main/mksh-ks/PKGBUILD

 pkgname=mksh-ks
 _pkgname=mksh
 pkgver=R46
-pkgrel=2
+pkgrel=3
 pkgdesc='The MirBSD Korn Shell - an enhanced version of the public domain ksh'
 url='https://www.mirbsd.org/mksh.htm'
 license=('custom')

File main/mksh-ks/mksh.install

 post_install() {
-  grep -x /bin/mksh /etc/shells >/dev/null || echo /usr/bin/mksh >>/etc/shells
-}
-
-post_upgrade() {
-      sed -i "/^\/bin\/mksh$/d" /etc/shells
-      post_install $1
+  grep -x /usr/bin/mksh /etc/shells >/dev/null || echo /usr/bin/mksh >>/etc/shells
 }
 
 post_remove() {