if which gtk-update-icon-cache >/dev/null 2>&1; then
for dir in #DIRLIST#; do
- if [ -f "$dir"/icon-theme.cache ]; then
+ if [ -f "$dir"/index.theme ] && [ -f "$dir"/icon-theme.cache ]; then
gtk-update-icon-cache --force --quiet "$dir"
fi
done
+debhelper (5.0.53) unstable; urgency=low
+
+ * dh_icons: Check for index.theme files before updating the cache.
+ Closes: #432824
+
+ -- Joey Hess <joeyh@debian.org> Fri, 13 Jul 2007 14:51:00 -0400
+
debhelper (5.0.52) unstable; urgency=low
* Remove DOS line endings from dh_icons scriptlets. Thanks, Daniel Holbach.