#!/bin/bash set -e # $HeadURL$ $LastChangedRevision$ case "$1" in purge|remove|upgrade) lockfile-remove -l /tmp/udi.lock ;; failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac exit 0