sysconf fix

This commit is contained in:
aliriza committed 2023-01-27 09:01:11 +00:00
1 parent e713585579
commit 317b679b56
5 files changed
+3 -7

No files matched your search

+1 -2
View File
@@ -1,8 +1,7 @@
#!/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
echo "date +%s -r /usr/share/glib-2.0/schemas/" > /var/lib/ymp/sysconf/glib/update.date
fi