diff options
Diffstat (limited to 'packages/linux_make/debian')
-rw-r--r-- | packages/linux_make/debian/control | 3 | ||||
-rw-r--r-- | packages/linux_make/debian/pd-extended.postinst | 19 | ||||
-rw-r--r-- | packages/linux_make/debian/pd-extended.postrm | 15 |
3 files changed, 36 insertions, 1 deletions
diff --git a/packages/linux_make/debian/control b/packages/linux_make/debian/control index 9086ec6c..32798141 100644 --- a/packages/linux_make/debian/control +++ b/packages/linux_make/debian/control @@ -1,8 +1,9 @@ Source: pd-extended -Version: 0.40.3extended-1 +Version: 0.42.5~cvs1-1 Section: sound Priority: optional Maintainer: Hans-Christoph Steiner <hans@at.or.at> +Homepage: http://puredata.info Package: pd-extended Architecture: i386 Depends: xterm | x-terminal-emulator, ttf-bitstream-vera, x-ttcidfont-conf, tcllib, diff --git a/packages/linux_make/debian/pd-extended.postinst b/packages/linux_make/debian/pd-extended.postinst new file mode 100644 index 00000000..23f81787 --- /dev/null +++ b/packages/linux_make/debian/pd-extended.postinst @@ -0,0 +1,19 @@ +#!/bin/sh +# this was is copied from audacity.postinst and audacity-data.postinst +set -e + +if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then + update-menus +fi + +if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then + update-mime +fi + +if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then + update-desktop-database -q +fi + +if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then + update-mime-database /usr/share/mime +fi 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 |