15 lines
364 B
Plaintext
Raw Normal View History

2004-04-06 02:16:16 +00:00
#!/bin/sh -e
action="$1"
CONF=/etc/mt-daapd.conf
PLAY=/etc/mt-daapd.playlist
CACHE=/var/cache/mt-daapd
2004-04-06 02:16:16 +00:00
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
if [ ! -d $CACHE ] ; then mkdir -p $CACHE; fi
2004-04-06 02:16:16 +00:00
;;
esac