X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=debian%2Fcacert-gigi.postinst;h=d2882e4451f5ba7921668f830218b62c03c22652;hp=3a7ec742a9fef707348360bc016d1661439d4b7a;hb=c256866ad0f399530c686380db62b47883e3f63b;hpb=5dedec97c8ebe9bbe3065300b35089cdbcfad120 diff --git a/debian/cacert-gigi.postinst b/debian/cacert-gigi.postinst index 3a7ec742..d2882e44 100644 --- a/debian/cacert-gigi.postinst +++ b/debian/cacert-gigi.postinst @@ -20,6 +20,13 @@ set -e case "$1" in configure) + if [ -f /usr/share/debconf/confmodule ]; then + . /usr/share/debconf/confmodule + db_get cacert-gigi/fetch-locales-command + $RET + else + gigi fetch-locales + fi ;; abort-upgrade|abort-remove|abort-deconfigure) @@ -31,12 +38,6 @@ case "$1" in ;; esac -if [ -f /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule -fi - -gigi fetch-locales - # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts.