* depend on debconf
* fix indenting of description
* postrm does init.d and debconf purge
Architecture: any
Section: sound
Priority: extra
-Depends: httpd,pwgen,mpg321,vorbis-tools,sox,${shlibs:Depends}
+Depends: httpd,pwgen,mpg321,vorbis-tools,sox,debconf,${shlibs:Depends}
Conflicts: jukebox
Description: Play random or selected digital audio files continuously
- Controlled from the command line or via a web-based interface.
+ Controlled from the command line or via a web-based interface.
# USA
#
set -e
+
case "$1" in
remove )
ldconfig -n /usr/lib
;;
+purge )
+ if [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ db_purge
+ fi
+ update-rc.d disorder remove
+ ;;
esac