#!/bin/sh set -e case $1 in configure) if [ ! -L /var/www/srv ]; then ln -s /usr/share/lliurex-www/srv /var/www/srv || true fi if [ ! -L /var/www/error ]; then ln -s /usr/share/lliurex-www/error /var/www/error || true fi a2ensite error || true service apache2 restart || true ;; *) echo "[DEBUG] Unknow action ..." ;; esac #DEBHELPER#