#!/bin/sh set -e ORIG_FILE="/etc/xul-ext/ubufox.js" OUR_FILE="/etc/xul-ext/lliurex.js" case $1 in configure) if dpkg-divert --package lliurex-firefox-settings--add --rename --divert ${ORIG_FILE}.real ${ORIG_FILE} ; then ln -fs ${OUR_FILE} ${ORIG_FILE} else echo "Unabe to divert file ${ORIG_FILE}" fi ;; *) echo "Nothing to do" ;; esac #DEBHELPER#