From: Zeljko Boros Date: Tue, 11 May 2021 20:54:49 +0000 (+0200) Subject: debconf to the front od postinst X-Git-Tag: debian/11.0.0~3 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=bd144274742b514752491be997e910bf2aaaeb08;p=carnet-upgrade.git debconf to the front od postinst --- diff --git a/debian/postinst b/debian/postinst index e1f51d8..8b39c78 100644 --- a/debian/postinst +++ b/debian/postinst @@ -5,6 +5,10 @@ set -e [ "$1" = "configure" ] || exit 0 [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx +# Load debconf +. /usr/share/debconf/confmodule +db_version 2.0 + # Load CARNET Tools . /usr/share/carnet-tools/functions.sh @@ -47,9 +51,4 @@ EOF fi update-locale fi - -# Load debconf -. /usr/share/debconf/confmodule -db_version 2.0 - #DEBHELPER#