]> WPIA git - gigi.git/blobdiff - debian/cacert-gigi-testing.postinst
add: prevent supporters from modifying their own accounts via support
[gigi.git] / debian / cacert-gigi-testing.postinst
index 3a7ec742a9fef707348360bc016d1661439d4b7a..6ed6758d190cf4a8f1a7afebe5cc27e5d6cb4f2c 100644 (file)
@@ -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,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.