diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 00:47:16 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 00:47:16 +0000 |
commit | a8baa0b6dfa393cc635f3c8a8bfb276e146c9379 (patch) | |
tree | ceeb8c3cf41aa9233a533333fad7e8070e7ebbd1 /debian/postrm | |
parent | 4701d900dfbe733025ba5e9d20875472dda964a7 (diff) |
copying pd-extended/0.43 debianization into trunk
svn path=/trunk/; revision=16938
Diffstat (limited to 'debian/postrm')
-rwxr-xr-x | debian/postrm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm new file mode 100755 index 00000000..f55a6e5c --- /dev/null +++ b/debian/postrm @@ -0,0 +1,17 @@ +#!/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 + +#DEBHELPER# |