From 1c01975eca029b375d84b2a5c03b2712cfb0835c Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sun, 7 Jun 2009 20:24:13 +0000 Subject: merged in Free Desktop files and fixes from the 0.41.4 release branch svn path=/trunk/; revision=11701 --- packages/linux_make/debian/pd-extended.postrm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packages/linux_make/debian/pd-extended.postrm (limited to 'packages/linux_make/debian/pd-extended.postrm') diff --git a/packages/linux_make/debian/pd-extended.postrm b/packages/linux_make/debian/pd-extended.postrm new file mode 100644 index 00000000..84905c06 --- /dev/null +++ b/packages/linux_make/debian/pd-extended.postrm @@ -0,0 +1,15 @@ +#!/bin/sh +# this was is stoled from audacity.postrm and audacity-data.postrm +set -e + +if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi + +if which update-mime >/dev/null 2>&1; then update-mime; fi + +if [ "$1" = "remove" ] && which update-desktop-database >/dev/null 2>&1 ; then + update-desktop-database -q +fi + +if [ -x "`which update-mime-database 2>/dev/null`" ]; then + update-mime-database /usr/share/mime +fi -- cgit v1.2.1