SOURCES: vim-tutor-lessdeps.patch - updated to 7.0.033
adamg
adamg at pld-linux.org
Mon Jul 23 10:55:25 CEST 2007
Author: adamg Date: Mon Jul 23 08:55:25 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated to 7.0.033
---- Files affected:
SOURCES:
vim-tutor-lessdeps.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/vim-tutor-lessdeps.patch
diff -u SOURCES/vim-tutor-lessdeps.patch:1.1 SOURCES/vim-tutor-lessdeps.patch:1.2
--- SOURCES/vim-tutor-lessdeps.patch:1.1 Sun Mar 5 13:19:37 2006
+++ SOURCES/vim-tutor-lessdeps.patch Mon Jul 23 10:55:20 2007
@@ -1,25 +1,28 @@
---- ./src/vimtutor~ 2005-12-30 03:36:48.000000000 +0200
-+++ ./src/vimtutor 2006-03-05 14:16:46.590263101 +0200
-@@ -39,18 +39,11 @@
+--- vim71/src/vimtutor.orig 2007-07-23 10:39:15.051255564 +0200
++++ vim71/src/vimtutor 2007-07-23 10:41:17.038772376 +0200
+@@ -39,23 +39,8 @@
# remove the copy of the tutor on exit
trap "rm -rf $TODELETE" 0 1 2 3 9 11 13 15
--# Vim could be called "vim" or "vi". Also check for "vim6", for people who
--# have Vim 5.x installed as "vim" and Vim 6.0 as "vim6".
--testvim=`which vim6 2>/dev/null`
--if test -f "$testvim"; then
-- VIM=vim6
-+# Vim could be called "vim" or "vi".
-+if [ -x /usr/bin/vim ]; then
-+ VIM=vim
- else
-- testvim=`which vim`
+-# Vim could be called "vim" or "vi". Also check for "vimN", for people who
+-# have Vim installed with its version number.
+-# We anticipate up to a future Vim 8 version :-).
+-seq="vim vim8 vim75 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi"
+-for i in $seq; do
+- testvim=`which $i 2>/dev/null`
- if test -f "$testvim"; then
-- VIM=vim
-- else
-- VIM=vi
+- VIM=$i
+- break
- fi
-+ VIM=vi
- fi
+-done
+-
+-# When no Vim version was found fall back to "vim", you'll get an error message
+-# below.
+-if test -z "$VIM"; then
+- VIM=vim
+-fi
++# Vim could be called "vim" or "vi".
++[ -x /usr/bin/vim ] && VIM=vim || VIM=vi
# Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
+ # The script tutor.vim tells Vim which file to copy
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/vim-tutor-lessdeps.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list