-if which gtk-update-icon-cache >/dev/null 2>&1; then\r
- for dir in #DIRLIST#; do\r
- if [ -f "$dir"/icon-theme.cache ]; then\r
- gtk-update-icon-cache --force --quiet "$dir"\r
- fi\r
- done\r
-fi\r
+if which gtk-update-icon-cache >/dev/null 2>&1; then
+ for dir in #DIRLIST#; do
+ if [ -f "$dir"/icon-theme.cache ]; then
+ gtk-update-icon-cache --force --quiet "$dir"
+ fi
+ done
+fi
-if [ "$1" = "remove" ]; then\r
- for dir in #DIRLIST#; do\r
- if [ -d "$dir" ]; then\r
- if [ -f "$dir"/index.theme ] && \\r
- [ -f "$dir"/icon-theme.cache ] && \\r
- which gtk-update-icon-cache >/dev/null 2>&1\r
- then\r
- gtk-update-icon-cache --force --quiet "$dir"\r
- else\r
- rm -f "$dir"/icon-theme.cache\r
- rmdir -p --ignore-fail-on-non-empty "$dir"\r
- fi\r
- fi\r
- done\r
-fi\r
+if [ "$1" = "remove" ]; then
+ for dir in #DIRLIST#; do
+ if [ -d "$dir" ]; then
+ if [ -f "$dir"/index.theme ] && \
+ [ -f "$dir"/icon-theme.cache ] && \
+ which gtk-update-icon-cache >/dev/null 2>&1
+ then
+ gtk-update-icon-cache --force --quiet "$dir"
+ else
+ rm -f "$dir"/icon-theme.cache
+ rmdir -p --ignore-fail-on-non-empty "$dir"
+ fi
+ fi
+ done
+fi
+debhelper (5.0.52) UNRELEASED; urgency=low
+
+ * Remove DOS line endings from dh_icons scriptlets. Thanks, Daniel Holbach.
+ Closes: #432321
+
+ -- Joey Hess <joeyh@debian.org> Mon, 09 Jul 2007 11:24:59 -0400
+
debhelper (5.0.51) unstable; urgency=low
* dh_icons: New program to update Freedesktop icon caches. Thanks