owntone-server/contrib/debian/postinst

13 lines
291 B
Plaintext
Raw Normal View History

2004-01-29 13:09:46 -05:00
#!/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