add Added Files:
[hdw-repos/packages.git] / demian / tcsh / tcsh
diff --git a/demian/tcsh/tcsh b/demian/tcsh/tcsh
new file mode 100755 (executable)
index 0000000..64c0d9a
--- /dev/null
@@ -0,0 +1,21 @@
+# HDW Linux tcsh
+#
+# [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org
+# [I] A improved and more featured C Shell.
+# [V] 6.12.00
+# [S] 3 5
+# [D] tcsh-6.12.00.tar.gz ftp://ftp.funet.fi/pub/unix/shells/tcsh/
+
+
+
+post_install()
+{
+    # tcsh could replace csh ;-)
+    
+    if [ -f "$root/bin/tcsh" ]; then
+       ln -sf $root/bin/tcsh $root/bin/csh
+    else 
+       [ -f "$root/usr/bin/tcsh" ] && \
+           ln -sf $root/usr/bin/tcsh $root/bin/csh
+    fi
+}