]> git.decadent.org.uk Git - ion3.git/commitdiff
Bodged to avoid breaking build-time processing of cfg_ioncore.lua.
authorBen Hutchings <ben@decadent.org.uk>
Mon, 6 Aug 2007 23:50:21 +0000 (23:50 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 2 Nov 2008 12:41:35 +0000 (12:41 +0000)
debian/patches/211_add-debian-menu.diff

index 2f87b750f181f26287dbb4e1bbd285ac0efd4371..22203ced1b3a0910d2020a53569fc2449a167698 100644 (file)
@@ -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