added Applications/Accessibility.
check that menu file are readable by everyone. git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@305 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
parent
71e35629c7
commit
821295181b
|
@ -24,6 +24,7 @@ DEFAULT_VALID_SECTIONS=(
|
|||
"Configuration/Printing",
|
||||
"Configuration/Boot and Init",
|
||||
"Configuration/Other",
|
||||
"Applications/Accessibility",
|
||||
"Applications/Development/Interpreters",
|
||||
"Applications/Development/Code generators",
|
||||
"Applications/Development/Development environments",
|
||||
|
@ -127,6 +128,8 @@ class MenuCheck(AbstractCheck.AbstractCheck):
|
|||
else:
|
||||
if basename != pkgname:
|
||||
printWarning(pkg, "non-coherent-menu-filename", f)
|
||||
if mode & 0444 != 0444:
|
||||
printError(pkg, "non-readable-menu-file", f)
|
||||
menus.append(f)
|
||||
else:
|
||||
# Check old menus from KDE and GNOME
|
||||
|
|
Loading…
Reference in New Issue