openbsd-ports/devel/py-xdg/patches/patch-xdg_Menu_py

13 lines
538 B
Plaintext
Raw Normal View History

2013-03-14 15:50:54 -04:00
$OpenBSD: patch-xdg_Menu_py,v 1.7 2013/03/14 19:50:54 ajacoutot Exp $
--- xdg/Menu.py.orig Tue Nov 6 00:41:29 2012
+++ xdg/Menu.py Thu Mar 14 20:48:43 2013
@@ -558,7 +558,7 @@ def parse(filename=None):
2009-11-20 03:45:21 -05:00
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":