SOURCES: vim-apache.patch - detect also apache configs in SOURCES

glen glen at pld-linux.org
Mon Dec 19 16:46:39 CET 2005


Author: glen                         Date: Mon Dec 19 15:46:39 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- detect also apache configs in SOURCES

---- Files affected:
SOURCES:
   vim-apache.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/vim-apache.patch
diff -u SOURCES/vim-apache.patch:1.1 SOURCES/vim-apache.patch:1.2
--- SOURCES/vim-apache.patch:1.1	Sun Dec 18 20:02:45 2005
+++ SOURCES/vim-apache.patch	Mon Dec 19 16:46:34 2005
@@ -1,11 +1,13 @@
 --- ./runtime/filetype.vim	2005-12-18 15:58:56.000000000 +0200
 +++ /usr/share/vim/vim64/filetype.vim	2005-12-18 15:03:14.000000000 +0200
-@@ -88,6 +88,8 @@
+@@ -88,6 +88,10 @@
  au BufNewFile,BufRead proftpd.conf*		setf apachestyle
  
  " Apache config file
 +au BufNewFile,BufRead /etc/httpd/*.conf	let apache_version="2.2" | setf apache
++au BufNewFile,BufRead .*/SOURCES/apache-*.conf	let apache_version="2.2" | setf apache
 +au BufNewFile,BufRead /etc/apache/*.conf	let apache_version="1.3" | setf apache
++au BufNewFile,BufRead .*/SOURCES/apache1-*.conf	let apache_version="1.3" | setf apache
  au BufNewFile,BufRead httpd.conf*,srm.conf*,access.conf*,.htaccess,apache.conf* setf apache
  
  " XA65 MOS6510 cross assembler
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/vim-apache.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list