X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=debian%2Fcacert-gigi.postinst;h=519ecc489894aba810fb642782df6f78e6e4e1de;hp=3a7ec742a9fef707348360bc016d1661439d4b7a;hb=9b01e471cde09546f79c8182d470d6cccdf60623;hpb=ec24cf6925bb3729a644580ad4a9375d05883c62 diff --git a/debian/cacert-gigi.postinst b/debian/cacert-gigi.postinst index 3a7ec742..519ecc48 100644 --- a/debian/cacert-gigi.postinst +++ b/debian/cacert-gigi.postinst @@ -20,6 +20,14 @@ 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 + adduser --system gigi ;; abort-upgrade|abort-remove|abort-deconfigure) @@ -31,15 +39,10 @@ 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. - -#DEBHELPER# +# The "hash DEBHELPER hash" special token is deliberately *not* included; +# gigi cannot start out of the box, +# and this package installs multiple services that cannot be used simultaneously, +# so we really don't want dh_installdeb to add code by +# dh_systemd_enable, dh_installinit and dh_systemd_start here. exit 0