From 2ee30716afcae989239796ac7b77e89e0bc4fed7 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Mon, 6 Aug 2007 23:50:21 +0000 Subject: [PATCH] Bodged to avoid breaking build-time processing of cfg_ioncore.lua. --- debian/patches/211_add-debian-menu.diff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5