summaryrefslogtreecommitdiffstats
path: root/cmake/cpack/deb/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/cpack/deb/postinst')
-rwxr-xr-xcmake/cpack/deb/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/cpack/deb/postinst b/cmake/cpack/deb/postinst
new file mode 100755
index 0000000..318d280
--- /dev/null
+++ b/cmake/cpack/deb/postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+ update-menus
+fi