#!/bin/sh # postinst script for apt-offline 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) dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/apt-offline -- "$@" ;; abort-upgrade|abort-remote|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # Automatically added by dh_python3 if which py3compile >/dev/null 2>&1; then py3compile -p apt-offline fi if which pypy3compile >/dev/null 2>&1; then pypy3compile -p apt-offline || true fi # End automatically added section exit 0