Files
binary-repo/dev/libs/glib/glib.sysconf
T
2022-11-20 10:28:41 +00:00

9 lines
309 B
Bash

#!/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