#!/bin/sh set -e case "$1" in configure) CONF_DIR="/etc/lliurex-recursos" CONF_FILE="$CONF_DIR/lliurex-recursos.conf" CONF_TMPL="/usr/share/lliurex-recursos/lliurex-recursos.conf" if [ ! -e "$CONF_FILE" ] ; then mkdir -p "$CONF_DIR" cp "$CONF_TMPL" "$CONF_FILE" fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# exit 0