From c83f091dc708093447e5818f34210caf88011c08 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Tue, 6 Apr 2004 02:16:16 +0000 Subject: [PATCH] lost this for a second --- debian/postinst | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 debian/postinst diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 00000000..a0e4f102 --- /dev/null +++ b/debian/postinst @@ -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