diff options
author | joeyh <joeyh> | 2007-07-09 15:25:34 +0000 |
---|---|---|
committer | joeyh <joeyh> | 2007-07-09 15:25:34 +0000 |
commit | fd9482bab58cfdc0a05731a9d8fd035b4df32767 (patch) | |
tree | 08760b9c543a884f753ccdc63daf6c7a3da95be9 | |
parent | c285511ccde07c77d7f9f33bfe88ecc0839a3d7f (diff) |
r2013: * Remove DOS line endings from dh_icons scriptlets. Thanks, Daniel Holbach.
Closes: #432321
-rw-r--r-- | autoscripts/postinst-icons | 14 | ||||
-rw-r--r-- | autoscripts/postrm-icons | 30 | ||||
-rw-r--r-- | debian/changelog | 7 |
3 files changed, 29 insertions, 22 deletions
diff --git a/autoscripts/postinst-icons b/autoscripts/postinst-icons index 3c018b3..d35f30c 100644 --- a/autoscripts/postinst-icons +++ b/autoscripts/postinst-icons @@ -1,7 +1,7 @@ -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 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 diff --git a/autoscripts/postrm-icons b/autoscripts/postrm-icons index 3765560..87fd790 100644 --- a/autoscripts/postrm-icons +++ b/autoscripts/postrm-icons @@ -1,15 +1,15 @@ -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
+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 diff --git a/debian/changelog b/debian/changelog index 1cc9e0d..0ac6f68 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +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 |