Bug 158365 - app-vim/udev-syntax-20051016 does not detect udev-rule files of newer udev
Bug#: 158365 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: vim@gentoo.org Reported By: zzam@gentoo.org
Component: Ebuilds
URL: 
Summary: app-vim/udev-syntax-20051016 does not detect udev-rule files of newer udev
Keywords:  
Status Whiteboard: 
Opened: 2006-12-17 05:44 0000
Description:   Opened: 2006-12-17 05:44 0000
app-vim/udev-syntax-20051016 is not able to automatically switch vim to mode
for udev-rules files, it seems to have the old name of the rules-file
hardcoded.

------- Comment #1 From Matthias Schwarzott 2006-12-17 06:08:01 0000 -------
The filename is no longer udev.rules, but /etc/udev/rules.d/*.rules

Perhaps one can match "udev/rules.d"

------- Comment #2 From Matthias Schwarzott 2007-01-10 15:25:29 0000 -------
Created an attachment (id=106376) [details]
Modifiy detect-routine to work on newer udev-filenames

This patch changes detection to test for existance of udev/rules.d inside the
path.

------- Comment #3 From Matthias Schwarzott 2007-01-10 15:26:13 0000 -------
Created an attachment (id=106378) [details]
Ebuild-Changes

------- Comment #4 From Mike Kelly (RETIRED) 2007-01-11 04:09:53 0000 -------
Fixed in CVS. Thanks for the report and the patch.