summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/vim/doinst.sh')
-rw-r--r--patches/source/vim/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/patches/source/vim/doinst.sh b/patches/source/vim/doinst.sh
new file mode 100644
index 00000000..f1ccd5ca
--- /dev/null
+++ b/patches/source/vim/doinst.sh
@@ -0,0 +1,5 @@
+
+# If there's no vi link, take over:
+if [ ! -r usr/bin/vi ]; then
+ ( cd usr/bin ; ln -sf vim vi )
+fi