diff options
Diffstat (limited to 'shells/mksh/pkg-install')
-rw-r--r-- | shells/mksh/pkg-install | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/shells/mksh/pkg-install b/shells/mksh/pkg-install deleted file mode 100644 index 87dea009ba0..00000000000 --- a/shells/mksh/pkg-install +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -MKSH="${PKG_PREFIX-/usr/local}/bin/mksh" -SHELLS="/etc/shells" - -case $2 in -POST-INSTALL) - if [ -d "${SHELLS%/*}" ] && ! grep -qs "^$MKSH\$" "$SHELLS"; then - if [ `id -u` -eq 0 ]; then - echo "$MKSH" >> "$SHELLS" - else - echo "Not root, please add $MKSH to $SHELLS manually" - fi - fi - ;; -esac |