summaryrefslogtreecommitdiff
path: root/scripts/postinst-intercepts/update_icon_cache
blob: 8e17a6ac0ce8ba4744dd48ce3458aa770c8054b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e
# update native pixbuf loaders
gdk-pixbuf-query-loaders --update-cache

for icondir in $D/usr/share/icons/*/ ; do
    if [ -d $icondir ] ; then
        gtk-update-icon-cache -fqt  $icondir
    fi
done