diff --git a/debian/changelog b/debian/changelog index afcd965..8b006af 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +orafce (3.0.6-4) UNRELEASED; urgency=medium + + * debian/tests/installcheck: Use locale_gen from postgresql-common 159. + + -- Christoph Berg Fri, 18 Jul 2014 13:41:01 +0300 + orafce (3.0.6-3) unstable; urgency=medium * Set team as Maintainer. diff --git a/debian/tests/installcheck b/debian/tests/installcheck index 812a399..63f58ac 100755 --- a/debian/tests/installcheck +++ b/debian/tests/installcheck @@ -2,19 +2,9 @@ set -e -case $(lsb_release -is) in -Debian) - if ! grep -Fwq "en_US.UTF-8 UTF-8" /etc/locale.gen; then - echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen - locale-gen - fi - ;; -Ubuntu) - locale-gen en_US.UTF-8 - ;; -esac - # to_multi_byte needs English, and UTF-8 +. /usr/share/postgresql-common/pgcommon.sh +locale_gen en_US.UTF-8 UTF-8 export LC_ALL=en_US.utf8 for v in $(pg_buildext supported-versions); do