X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=debian%2Fcacert-gigi-testing.postinst;h=6ed6758d190cf4a8f1a7afebe5cc27e5d6cb4f2c;hb=08e0b5673b6994fc692a578f1ff99ebb67ae2410;hp=46fcf81ddc60118b4e647245a692597dee35bd22;hpb=258fed97058e563788f5b598097daa880921e500;p=gigi.git diff --git a/debian/cacert-gigi-testing.postinst b/debian/cacert-gigi-testing.postinst index 46fcf81d..6ed6758d 100644 --- a/debian/cacert-gigi-testing.postinst +++ b/debian/cacert-gigi-testing.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-testing/fetch-locales-command + $RET + else + gigi fetch-locales + fi ;; abort-upgrade|abort-remove|abort-deconfigure) @@ -31,15 +38,6 @@ case "$1" in ;; esac -if [ -f /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - db_get cacert-gigi-testing/fetch-locales-command - $RET -else - gigi fetch-locales -fi - - # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts.