From c47924e9f39b7c11480ecc396b6a5bfde535320f Mon Sep 17 00:00:00 2001 From: Matheson Steplock Date: Sat, 5 Feb 2022 05:11:13 +0000 Subject: [PATCH] rename function --- homeassistant-supervised/DEBIAN/postrm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant-supervised/DEBIAN/postrm b/homeassistant-supervised/DEBIAN/postrm index e405f0c..0155ec8 100755 --- a/homeassistant-supervised/DEBIAN/postrm +++ b/homeassistant-supervised/DEBIAN/postrm @@ -20,7 +20,7 @@ function undo_divert () { --divert /etc/network/interfaces.real /etc/network/interfaces } -function cleanup () { +function reset_debconf_selections () { info "Resetting debconf selections" echo PURGE | debconf-communicate homeassistant-supervised >/dev/null } @@ -29,6 +29,6 @@ case "$1" in remove|abort-install|disappear) info Undo divert on "$@" undo_divert - cleanup + reset_debconf_selections ;; esac