summaryrefslogtreecommitdiff
path: root/debian-maemo2/postinst
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-01-04 09:30:48 +0100
committerJosep Torra <n770galaxy@gmail.com>2013-01-04 09:30:48 +0100
commit1f80a252d48b3f6eed4469d60c7d109de46eb362 (patch)
treebac9e7d498164f96bf4fea368c3776d58004f287 /debian-maemo2/postinst
Initial commit
Diffstat (limited to 'debian-maemo2/postinst')
-rwxr-xr-xdebian-maemo2/postinst13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian-maemo2/postinst b/debian-maemo2/postinst
new file mode 100755
index 0000000..96d224c
--- /dev/null
+++ b/debian-maemo2/postinst
@@ -0,0 +1,13 @@
+#! /bin/sh
+gtk-update-icon-cache -f /usr/share/icons/hicolor
+# Now we are ready to let the user move the entry around, but only if
+# this is a new install
+if [ `which maemo-select-menu-location` ]; then
+ oldversion="$2"
+ if [ -z "$oldversion" ]; then
+ maemo-select-menu-location nethack.desktop
+ fi
+fi
+#DEBHELPER#
+
+exit 0