Files
binary-repo/dev/libs/glib/glib.sysconf
T
2023-03-09 06:48:00 +00:00

8 lines
290 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/
date +%s -r /usr/share/glib-2.0/schemas/ > /var/lib/ymp/sysconf/glib/update.date
fi