From 76c26b027d797f3671bf0b6c6618eda2496cf88d Mon Sep 17 00:00:00 2001 From: root Date: Fri, 15 Jul 2011 23:12:20 +0000 Subject: Fri Jul 15 23:12:20 UTC 2011 --- community-testing/mypaint/mypaint.install | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 community-testing/mypaint/mypaint.install (limited to 'community-testing/mypaint/mypaint.install') diff --git a/community-testing/mypaint/mypaint.install b/community-testing/mypaint/mypaint.install new file mode 100644 index 000000000..5f0358791 --- /dev/null +++ b/community-testing/mypaint/mypaint.install @@ -0,0 +1,13 @@ +post_install() { + [ -x `which update-mime-database` ] && update-mime-database usr/share/mime + [ -x `which gtk-update-icon-cache` ] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + /bin/true +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} -- cgit v1.2.3-54-g00ecf