#!/bin/sh set -e KEEP="/var/lib/deborphan/keep" KEEPDIR="/var/lib/deborphan" if [ "$1" = "purge" ]; then if [ -f $KEEP ]; then rm -f $KEEP # postrm should not fail when the admin created a file in $KEEPDIR rmdir $KEEPDIR || true fi fi # Here debhelper should add it's stuff if any: # Automatically added by dh_installdeb/13.4.1 dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/deborphan 1.7.34 deborphan -- "$@" # End automatically added section