Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/post.d/rc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'post.d/rc.sh')
-rwxr-xr-xpost.d/rc.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/post.d/rc.sh b/post.d/rc.sh
new file mode 100755
index 0000000..9702e36
--- /dev/null
+++ b/post.d/rc.sh
@@ -0,0 +1,5 @@
+grep locale_archive /etc/rc.local >/dev/null || cat >>/etc/rc.local <<EOF
+# locale-archive might be overriden by glibc updates
+locale_archive=/opt/sweets/locales/locale-archive
+[ -e \$locale_archive ] && cp \$locale_archive /usr/lib/locale/
+EOF