8 lines
286 B
Bash
8 lines
286 B
Bash
#!/bin/sh
|
|
current=$(date +%s -r /usr/lib64/gdk-pixbuf-2.0)
|
|
last=$(cat /var/lib/ymp/sysconf/gdk-pixbuf/update.date)
|
|
if [ "$current" != "$last" ] ; then
|
|
gdk-pixbuf-query-loaders --update-cache
|
|
date +%s -r /usr/lib64/gdk-pixbuf-2.0 > /var/lib/ymp/sysconf/gdk-pixbuf/update.date
|
|
fi
|