[mate-icon-theme] 01/02: debian/postinst: Drop full path reference to gtk-update-icon-cache.

Mike Gabriel sunweaver at debian.org
Sun Dec 20 15:42:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository mate-icon-theme.

commit 3bf331448491b46040e2f9dacf82198755a43963
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sun Dec 20 16:29:45 2015 +0100

    debian/postinst: Drop full path reference to gtk-update-icon-cache.
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 9d7f15f..f080b7f 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -3,7 +3,7 @@ set -e
 
 write_cache()
 {
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
+if [ -x `which gtk-update-icon-cache` ]; then
     if ! gtk-update-icon-cache --force --quiet /usr/share/icons/mate; then
         echo "WARNING: icon cache generation failed"
     fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-icon-theme.git



More information about the pkg-mate-commits mailing list