#!/bin/sh set -e # LliureX diversions for a 404 pages # and added some logic with update-alternatives technology # LLIUREX_PROPERTIES="/usr/share/lliurex-firefox-settings/lliurex-firefox.properties" SERVER_PROPERTIES="/usr/share/lliurex-firefox-settings/lliurex-firefox-server.properties" case $1 in configure) # Update alternatives for error page update-alternatives --install $LLIUREX_PROPERTIES lliurex-firefox $SERVER_PROPERTIES 60 ;; *) echo "Nothing to do" ;; esac #DEBHELPER#