sysconf fixes

This commit is contained in:
sulincix committed 2022-11-20 10:28:41 +00:00
1 parent b712852f9c
commit 419f994452
3 files changed
+15 -3

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
current=$(date +%s -r /usr/share/glib-2.0/schemas/)
touch /var/lib/ymp/sysconf/glib/update.date
last=$(cat /var/lib/ymp/sysconf/glib/update.date)
if [ "$current" != "$last" ] ; then
glib-compile-schemas /usr/share/glib-2.0/schemas/
echo "$current" > /var/lib/ymp/sysconf/glib/update.date
fi