12 lines
540 B
Diff
12 lines
540 B
Diff
diff -up rpmlint-1.5/MenuXDGCheck.py.fixunbound rpmlint-1.5/MenuXDGCheck.py
|
|
--- rpmlint-1.5/MenuXDGCheck.py.fixunbound 2013-11-11 10:31:28.023362241 -0500
|
|
+++ rpmlint-1.5/MenuXDGCheck.py 2013-11-11 10:32:00.253303519 -0500
|
|
@@ -42,6 +42,7 @@ class MenuXDGCheck(AbstractCheck.Abstrac
|
|
self.cfp.read(f)
|
|
binary = self.cfp.get('Desktop Entry','Exec').split(' ',1)[0]
|
|
if binary:
|
|
+ found = False
|
|
if binary.startswith('/'):
|
|
found = os.path.exists(root + binary)
|
|
else:
|