glibc sysconf
This commit is contained in:
1 parent
39eae73b1d
commit
9b5edfbd4f
1 file changed
+9
@@ -5,3 +5,12 @@
|
|||||||
/bin/busybox chmod +x -R /usr/bin
|
/bin/busybox chmod +x -R /usr/bin
|
||||||
/bin/busybox chmod +x -R /usr/sbin
|
/bin/busybox chmod +x -R /usr/sbin
|
||||||
/bin/busybox chmod +x -R /usr/libexec
|
/bin/busybox chmod +x -R /usr/libexec
|
||||||
|
|
||||||
|
# Call locale-gen
|
||||||
|
current=$(date +%s -r /etc/locale.gen)
|
||||||
|
touch /var/lib/ymp/sysconf/glib/update.date
|
||||||
|
last=$(cat /var/lib/ymp/sysconf/glibc/update.date)
|
||||||
|
if [ "$current" != "$last" ] ; then
|
||||||
|
/bin/locale-gen
|
||||||
|
echo "$current" > /var/lib/ymp/sysconf/glibc/update.date
|
||||||
|
fi
|
||||||
Reference in new issue
Block a user