Skip to content
Snippets Groups Projects
Commit 49c507fa authored by Allan McRae's avatar Allan McRae :speech_balloon:
Browse files

only regenerate locales when (possibly) needed

parent 5e68a145
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,8 @@
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
# NOTE: valgrind requires rebuilt with each major glibc version
# NOTE: adjust version in install script when locale files are updated
pkgname=glibc
pkgver=2.18
pkgrel=5
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment