From 319386dddac6dd7f12cb9170b07d973410034607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 20 Aug 2016 23:46:20 +0200 Subject: test that gtk-update-icon-cache exists and is executable --- debian/shotwell-common.postrm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debian/shotwell-common.postrm') diff --git a/debian/shotwell-common.postrm b/debian/shotwell-common.postrm index 2390561..63c29ce 100644 --- a/debian/shotwell-common.postrm +++ b/debian/shotwell-common.postrm @@ -9,7 +9,9 @@ case "$1" in # # rebuild icon cache # - gtk-update-icon-cache /usr/share/icons/hicolor + if [ -x gtk-update-icon-cache ] ; then + gtk-update-icon-cache /usr/share/icons/hicolor + fi esac -- cgit v1.2.3