summaryrefslogtreecommitdiff
path: root/community/tcsh/tcsh.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/tcsh/tcsh.install')
-rw-r--r--community/tcsh/tcsh.install23
1 files changed, 0 insertions, 23 deletions
diff --git a/community/tcsh/tcsh.install b/community/tcsh/tcsh.install
deleted file mode 100644
index 00911470f..000000000
--- a/community/tcsh/tcsh.install
+++ /dev/null
@@ -1,23 +0,0 @@
-post_install() {
- if ! grep -q /bin/tcsh etc/shells; then
- echo /bin/tcsh >> etc/shells
- echo /bin/csh >> etc/shells
- echo 'Added to /etc/shells.'
- fi
-}
-
-post_upgrade() {
- if grep -q /usr/bin/tcsh etc/shells; then
- sed -i 's|/usr/bin/tcsh|/bin/tcsh|' etc/shells
- sed -i 's|/usr/bin/csh|/bin/csh|' etc/shells
- echo 'Fixed path in /etc/shells.'
- fi
-}
-
-pre_remove() {
- sed -i '\|/bin/tcsh|d' etc/shells
- sed -i '\|/bin/csh|d' etc/shells
- echo 'Removed from /etc/shells.'
-}
-
-# vim:set ts=2 sw=2 et: