build fix
[cpufrequi] / debian / cpufrequi.postinst
diff --git a/debian/cpufrequi.postinst b/debian/cpufrequi.postinst
new file mode 100755 (executable)
index 0000000..1c71f5c
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+gtk-update-icon-cache -f /usr/share/icons/hicolor
+
+MAEMO_SELECT_MENU=/usr/bin/maemo-select-menu-location
+
+oldversion="$2"
+if [ -f $MAEMO_SELECT_MENU ]; then
+  if [ -z "$oldversion" ]; then
+    maemo-select-menu-location qstardict.desktop
+  fi
+fi
+
+exit 0