summaryrefslogtreecommitdiffstats
path: root/development/xvi/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'development/xvi/doinst.sh')
-rw-r--r--development/xvi/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/development/xvi/doinst.sh b/development/xvi/doinst.sh
new file mode 100644
index 0000000000..39380353f2
--- /dev/null
+++ b/development/xvi/doinst.sh
@@ -0,0 +1,6 @@
+# based on Slackware's doinst.sh for vim.
+
+# If there's no vi link, take over:
+if [ ! -r usr/bin/vi ]; then
+ ( cd usr/bin ; ln -sf xvi vi )
+fi