diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-08-20 23:46:20 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-08-20 23:46:20 +0200 |
commit | 319386dddac6dd7f12cb9170b07d973410034607 (patch) | |
tree | 9f983131f7a7d4d0ec5aa8aa73c316b66f9c6df0 /debian/shotwell-common.postrm | |
parent | d82fd9409f3ddd098162c929fc1b04abeefef991 (diff) |
test that gtk-update-icon-cache exists and is executable
Diffstat (limited to 'debian/shotwell-common.postrm')
-rw-r--r-- | debian/shotwell-common.postrm | 4 |
1 files changed, 3 insertions, 1 deletions
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 |