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 mt-daapd (0.2.1-1) unstable; urgency=low
* Add support for ogg metainfo * Add support for ogg metainfo
* Add support for xing/lame tags * Add support for xing/lame tags

6
debian/postinst vendored
View File

@ -1,12 +1,14 @@
#!/bin/sh -e #!/bin/sh -e
action="$1" action="$1"
CONF=/etc/mt-daapd.conf CONFDIR=/etc/mt-daapd
PLAY=/etc/mt-daapd.playlist CONF=$CONFDIR/mt-daapd.conf
PLAY=$CONFDIR/mt-daapd.playlist
CACHE=/var/cache/mt-daapd CACHE=/var/cache/mt-daapd
case "$1" in case "$1" in
configure) 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 $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 [ ! -f $PLAY ] ; then cp /usr/share/doc/mt-daapd/mt-daapd.playlist $PLAY; fi
if [ ! -d $CACHE ] ; then mkdir -p $CACHE; 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_installemacsen
# dh_installpam # dh_installpam
# dh_installmime # dh_installmime
dh_installinit --init-script=daap dh_installinit --init-script=mt-daapd
# dh_installcron # dh_installcron
# dh_installinfo # dh_installinfo
dh_installman dh_installman
dh_link dh_link
dh_strip dh_strip
dh_compress # dh_compress
dh_fixperms dh_fixperms
# dh_perl # dh_perl
# dh_python # dh_python