Files
binary-repo/dev/libs/glib/glib.sysconf
T
2023-01-27 09:01:11 +00:00

8 lines
297 B
Bash

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