summaryrefslogtreecommitdiff
path: root/source/a/tcsh/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/tcsh/doinst.sh')
-rw-r--r--source/a/tcsh/doinst.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/a/tcsh/doinst.sh b/source/a/tcsh/doinst.sh
new file mode 100644
index 00000000..d351e505
--- /dev/null
+++ b/source/a/tcsh/doinst.sh
@@ -0,0 +1,8 @@
+if fgrep tcsh etc/shells 1> /dev/null 2> /dev/null ; then
+ GOOD=y
+else
+ echo "/bin/tcsh" >> etc/shells
+ echo "/bin/csh" >> etc/shells
+fi
+( cd bin ; rm -rf csh )
+( cd bin ; ln -sf tcsh csh )