Add debian stuff from Aubin Paul

This commit is contained in:
Ron Pedde
2004-01-29 18:09:46 +00:00
parent b659e8ba9f
commit 3781fd7173
9 changed files with 245 additions and 0 deletions

12
contrib/debian/postinst Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/sh -e
action="$1"
CONF=/etc/mt-daapd.conf
PLAY=/etc/mt-daapd.playlist
case "$1" in
configure)
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
;;
esac