Files
binary-repo/sys/base/glibc/data/glibc.sysconf
T
2022-12-13 17:42:40 +00:00

17 lines
467 B
Bash

#!/bin/sh
/sbin/ldconfig
/bin/busybox chmod +x -R /bin
/bin/busybox chmod +x -R /sbin
/bin/busybox chmod +x -R /usr/bin
/bin/busybox chmod +x -R /usr/sbin
/bin/busybox chmod +x -R /usr/libexec
# Call locale-gen
current=$(date +%s -r /etc/locale.gen)
touch /var/lib/ymp/sysconf/glibc/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