#!/bin/sh # preinst script for apt-offline set -e # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/apt-offline -- "$@" ;; abort-upgrade) ;; *) echo "preinst called with unknown argument \`$1'" >&2 exit 1 ;; esac exit 0