#!/bin/sh -e DEFAULTS_FILE="/etc/gnome/defaults.list" MODELLUS_MIME="application/modellus" if [ -f "$DEFAULTS_FILE" ] && grep -q "^${MODELLUS_MIME}=" "$DEFAULTS_FILE" ; then TMP_FILE="$(tempfile)" cp -a "$DEFAULTS_FILE" "$TMP_FILE" sed -i -e "\%^${MODELLUS_MIME}=%d" "$TMP_FILE" mv "$TMP_FILE" "$DEFAULTS_FILE" fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER#