openbsd-ports/devel/py-xdg/patches/patch-xdg_Menu_py
2008-10-30 14:23:31 +00:00

13 lines
546 B
Plaintext

$OpenBSD: patch-xdg_Menu_py,v 1.3 2008/10/30 14:23:31 ajacoutot Exp $
--- xdg/Menu.py.orig Thu Oct 30 15:20:37 2008
+++ xdg/Menu.py Thu Oct 30 15:20:49 2008
@@ -495,7 +495,7 @@ def parse(filename=None):
filename = __getFileName("applications.menu")
if not filename:
- raise ParsingError('File not found', "/etc/xdg/menus/applications.menu")
+ raise ParsingError('File not found', "${SYSCONFDIR}/xdg/menus/applications.menu")
# check if it is a .menu file
if not os.path.splitext(filename)[1] == ".menu":