HEX
Server: Apache
System: Linux vps37023 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64
User: alternativsm (5771646)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/dselect.postrm
#!/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



exit 0