From 76faa357888fc7ac8697e12f151f70fd7227a978 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 11:40:32 +0200 Subject: Adding debian version 1.20.13. Signed-off-by: Daniel Baumann --- debian/dselect.postrm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 debian/dselect.postrm (limited to 'debian/dselect.postrm') diff --git a/debian/dselect.postrm b/debian/dselect.postrm new file mode 100755 index 0000000..7376dd6 --- /dev/null +++ b/debian/dselect.postrm @@ -0,0 +1,34 @@ +#!/bin/sh +# See deb-postrm(5). + +set -e + +# Remove dselect methods state. +purge_state() { + admindir=${DPKG_ADMINDIR:-/var/lib/dpkg} + + rm -f $admindir/cmethopt 2>/dev/null + for method in disk ftp mnt multicd; do + rm -rf $admindir/methods/$method/* 2>/dev/null + done +} + +case "$1" in +remove) + ;; +purge) + purge_state + ;; +upgrade) + ;; +failed-upgrade|disappear|abort-install|abort-upgrade) + ;; +*) + echo "$0 called with unknown argument '$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 -- cgit v1.2.3