summaryrefslogtreecommitdiff
path: root/core/glibc/glibc.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/glibc/glibc.install')
-rw-r--r--core/glibc/glibc.install5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/glibc/glibc.install b/core/glibc/glibc.install
index f8147a6cf..6b405486e 100644
--- a/core/glibc/glibc.install
+++ b/core/glibc/glibc.install
@@ -3,7 +3,10 @@ filelist=(libc.info{,-1,-2,-3,-4,-5,-6,-7,-8,-9,-10,-11})
post_upgrade() {
ldconfig -r .
- locale-gen
+
+ if [[ $(vercmp 2.18 $2) = 1 ]]; then
+ locale-gen
+ fi
[[ -x usr/bin/install-info ]] || return 0
for file in ${filelist[@]}; do