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