From: Felix Dörre Date: Wed, 6 Jul 2016 17:22:19 +0000 (+0200) Subject: add: debconf parameter to customize location of strings X-Git-Url: https://code.wpia.club/?p=gigi.git;a=commitdiff_plain;h=258fed97058e563788f5b598097daa880921e500 add: debconf parameter to customize location of strings Change-Id: I696735bd1a6289582774b11e845873e4447da87e --- diff --git a/debian/cacert-gigi-testing.postinst b/debian/cacert-gigi-testing.postinst index 3a7ec742..46fcf81d 100644 --- a/debian/cacert-gigi-testing.postinst +++ b/debian/cacert-gigi-testing.postinst @@ -33,9 +33,12 @@ 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 -gigi fetch-locales # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. diff --git a/debian/cacert-gigi-testing.templates b/debian/cacert-gigi-testing.templates new file mode 100644 index 00000000..ddf85d06 --- /dev/null +++ b/debian/cacert-gigi-testing.templates @@ -0,0 +1,4 @@ +Template: cacert-gigi-testing/fetch-locales-command +Type: string +Default: gigi fetch-locales +Description: The command to fetch locales with after installation is complete diff --git a/debian/cacert-gigi.postinst b/debian/cacert-gigi.postinst index 3a7ec742..d2970c11 100644 --- a/debian/cacert-gigi.postinst +++ b/debian/cacert-gigi.postinst @@ -33,10 +33,12 @@ esac if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule + db_get cacert-gigi/fetch-locales-command + $RET +else + gigi fetch-locales fi -gigi fetch-locales - # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. diff --git a/debian/cacert-gigi.templates b/debian/cacert-gigi.templates new file mode 100644 index 00000000..e47d9cc4 --- /dev/null +++ b/debian/cacert-gigi.templates @@ -0,0 +1,4 @@ +Template: cacert-gigi/fetch-locales-command +Type: string +Default: gigi fetch-locales +Description: The command to fetch locales with after installation is complete