debian packaging fixes

This commit is contained in:
Ron Pedde 2005-02-05 21:24:47 +00:00
parent 70ea2d7561
commit e7c3241cdc
3 changed files with 11 additions and 4 deletions

5
debian/changelog vendored
View File

@ -1,3 +1,8 @@
mt-daapd (0.2.1.1-1) unstable; urgency=low
* Trivial fixes for stupid bugs
-- Ron Pedde <ron@pedde.com> Sat, 5 Feb 2005 15:18:00 -0600
mt-daapd (0.2.1-1) unstable; urgency=low
* Add support for ogg metainfo
* Add support for xing/lame tags

6
debian/postinst vendored
View File

@ -1,12 +1,14 @@
#!/bin/sh -e
action="$1"
CONF=/etc/mt-daapd.conf
PLAY=/etc/mt-daapd.playlist
CONFDIR=/etc/mt-daapd
CONF=$CONFDIR/mt-daapd.conf
PLAY=$CONFDIR/mt-daapd.playlist
CACHE=/var/cache/mt-daapd
case "$1" in
configure)
if [ ! -d $CONFDIR ]; then mkdir -p $CONFDIR; fi
if [ ! -f $CONF ] ; then cp /usr/share/doc/mt-daapd/mt-daapd.conf $CONF; fi
if [ ! -f $PLAY ] ; then cp /usr/share/doc/mt-daapd/mt-daapd.playlist $PLAY; fi
if [ ! -d $CACHE ] ; then mkdir -p $CACHE; fi

4
debian/rules vendored
View File

@ -86,13 +86,13 @@ binary-arch: build install
# dh_installemacsen
# dh_installpam
# dh_installmime
dh_installinit --init-script=daap
dh_installinit --init-script=mt-daapd
# dh_installcron
# dh_installinfo
dh_installman
dh_link
dh_strip
dh_compress
# dh_compress
dh_fixperms
# dh_perl
# dh_python