AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 52.14.26.141


Current Path : /var/lib/dpkg/info/
Upload File :
Current File : //var/lib/dpkg/info/sudo.postrm

#!/bin/sh

set -e

case "$1" in
  purge)
	rm -rf /var/lib/sudo
	rm -rf /run/sudo
        if [ -x "/usr/bin/deb-systemd-helper" ]; then
        	deb-systemd-helper unmask 'sudo.service' || true
        fi
  ;;

  remove|upgrade|deconfigure)
  ;;

  abort-upgrade|failed-upgrade)
    if [ -e "/etc/sudoers.pre-conffile" ]; then
	mv /etc/sudoers.pre-conffile /etc/sudoers
    fi
  ;;

  *)
        echo "unknown argument --> $1" >&2
        exit 0
  ;;
esac