#!/bin/sh set -e ORIG_FILE="/etc/xul-ext/ubufox.js" OUR_FILE="/etc/xul-ext/lliurex.js" # 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 remove|purge|abort-install|disappear) update-alternatives --remove lliurex-firefox $SERVER_PROPERTIES ;; *) echo "Nothing to do" ;; esac #DEBHELPER#