diff package-files/linux/deb/postinst @ 35:bcbc92ffe0d0

Makes a .deb file at long last, but Duke still shows up as an icon in the dock.
author David Barts <n5jrn@me.com>
date Thu, 30 Apr 2020 21:22:30 -0700
parents d175593317a8
children
line wrap: on
line diff
--- a/package-files/linux/deb/postinst	Wed Apr 29 21:49:21 2020 -0700
+++ b/package-files/linux/deb/postinst	Thu Apr 30 21:22:30 2020 -0700
@@ -1,3 +1,3 @@
 #!/bin/sh
 set -e
-if [ "$1" = "configure" ] && [ -x /usr/bin/update-menus ]; then update-menus ; fi
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi