summaryrefslogtreecommitdiff
path: root/extra/pdksh/pdksh.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pdksh/pdksh.install')
-rw-r--r--extra/pdksh/pdksh.install22
1 files changed, 0 insertions, 22 deletions
diff --git a/extra/pdksh/pdksh.install b/extra/pdksh/pdksh.install
deleted file mode 100644
index 17463a17e..000000000
--- a/extra/pdksh/pdksh.install
+++ /dev/null
@@ -1,22 +0,0 @@
-post_install() {
- if [ ! "$(grep /bin/ksh etc/shells)" ]; then
- echo "updating /etc/shells... done."
- sed -i "s|/bin/bash|/bin/bash\n/bin/ksh|" etc/shells
- else
- sed -i "s|/usr/bin/ksh|/bin/ksh|" etc/shells
-
- echo ""
- echo ">> WARNING: /usr/bin/ksh has moved to /bin/ksh,"
- echo ">> please update your user accounts as needed"
- echo ""
- fi
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- echo -ne "\nupdating /etc/shells... "
- sed -i "s|/bin/ksh||" etc/shells
-}