X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=debian%2Fcacert-gigi-testing.postinst;h=e5654e3662e63969977a23026e9f18745a1e83d0;hp=46fcf81ddc60118b4e647245a692597dee35bd22;hb=67bdb3b1fd3ff821d00715bf2a7ed90ca7a7a664;hpb=258fed97058e563788f5b598097daa880921e500 diff --git a/debian/cacert-gigi-testing.postinst b/debian/cacert-gigi-testing.postinst index 46fcf81d..e5654e36 100644 --- a/debian/cacert-gigi-testing.postinst +++ b/debian/cacert-gigi-testing.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-testing/fetch-locales-command + $RET + else + gigi fetch-locales + fi + adduser --system gigi ;; abort-upgrade|abort-remove|abort-deconfigure) @@ -31,18 +39,10 @@ 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. - -#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