#!/bin/sh set -e case "$1" in configure) cp /usr/share/apt-venv/ubuntu-3B4FE6ACC0B21F32-archive-keyring.asc /etc/apt/trusted.gpg.d cp /usr/share/apt-venv/ubuntu-871920D1991BC93C-archive-keyring.asc /etc/apt/trusted.gpg.d cp /usr/share/apt-venv/ubuntu-40976EAF437D05B5-archive-keyring.asc /etc/apt/trusted.gpg.d # On upgrade, after rm_conffiles, remove empty directories # See #665797 if dpkg --compare-versions "$2" lt-nl "1.0.0-4~"; then if [ -d /etc/bash_completion.d ]; then rmdir --ignore-fail-on-non-empty /etc/bash_completion.d fi fi ;; abort-configure) ;; *) echo "preinst called with unknown argument '$1'" >&2 exit 1 ;; esac # Automatically added by dh_python3 if command -v py3compile >/dev/null 2>&1; then py3compile -p apt-venv fi if command -v pypy3compile >/dev/null 2>&1; then pypy3compile -p apt-venv || true fi # End automatically added section # Automatically added by dh_installdeb/13.10 dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/apt-venv 1.0.0-4\~ -- "$@" # End automatically added section exit 0