22 lines
333 B
Plaintext
22 lines
333 B
Plaintext
|
|
#!/bin/sh
|
||
|
|
|
||
|
|
set -e
|
||
|
|
|
||
|
|
case "$1" in
|
||
|
|
remove)
|
||
|
|
resolvconf --disable-updates || :
|
||
|
|
;;
|
||
|
|
# deconfigure)
|
||
|
|
# This code path should not be used.
|
||
|
|
# N.B.: Other packages should not declare "Breaks: resolvconf";
|
||
|
|
# they should declare "Conflicts: resolvconf" instead.
|
||
|
|
# ;;
|
||
|
|
# upgrade|failed-upgrade)
|
||
|
|
# Don't do anything
|
||
|
|
# ;;
|
||
|
|
esac
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
exit 0
|