openbsd-ports/devel/py-xdg/patches/patch-xdg_Menu_py
2012-08-04 15:11:00 +00:00

13 lines
538 B
Plaintext

$OpenBSD: patch-xdg_Menu_py,v 1.6 2012/08/04 15:11:00 ajacoutot Exp $
--- xdg/Menu.py.orig Thu Jul 26 00:59:15 2012
+++ xdg/Menu.py Tue Jul 31 17:02:00 2012
@@ -551,7 +551,7 @@ def parse(filename=None):
filename = __getFileName(candidate)
if not filename:
- raise ParsingError('File not found', "/etc/xdg/menus/%s" % candidate)
+ raise ParsingError('File not found', "${SYSCONFDIR}/xdg/menus/%s" % candidate)
# check if it is a .menu file
if not os.path.splitext(filename)[1] == ".menu":