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:
Frédéric Lepied 2000-09-29 10:04:47 +00:00
parent 71e35629c7
commit 821295181b
1 changed files with 3 additions and 0 deletions

View File

@ -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