From: Ben Hutchings Date: Mon, 6 Aug 2007 23:50:21 +0000 (+0000) Subject: Bodged to avoid breaking build-time processing of cfg_ioncore.lua. X-Git-Tag: 20070720-2~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=2ee30716afcae989239796ac7b77e89e0bc4fed7;p=ion3.git Bodged to avoid breaking build-time processing of cfg_ioncore.lua. --- diff --git a/debian/patches/211_add-debian-menu.diff b/debian/patches/211_add-debian-menu.diff index 2f87b75..22203ce 100644 --- a/debian/patches/211_add-debian-menu.diff +++ b/debian/patches/211_add-debian-menu.diff @@ -8,13 +8,13 @@ submenu("Session", "sessionmenu"), }) -@@ -381,3 +381,12 @@ +@@ -381,3 +382,12 @@ defctxmenu("WClientWin", "Client window", { menuentry("Kill", "WClientWin.kill(_)"), }) + +-- Auto-generated Debian menu definitions -+if os.execute("test -x /usr/bin/update-menus") == 0 then ++if os and os.execute("test -x /usr/bin/update-menus") == 0 then + if ioncore.is_i18n() then + dopath("debian-menu-i18n") + else