#!/bin/sh # postinst script for command-not-found # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # remove old left-over file if dpkg --compare-versions "$2" lt-nl "0.2.35ubuntu3"; then rm -f /etc/bash_command_not_found fi # Automatically added by dh_python2: if which pycompile >/dev/null 2>&1; then pycompile -p command-not-found fi # End automatically added section exit 0