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/changelog | 3 ++- debian/shotwell-common.postrm | 4 +++- debian/shotwell.lintian-overrides | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 667b499..9111244 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,7 +21,8 @@ shotwell (0.23.5-1) unstable; urgency=medium + Fix files mode in temp-source tarball. Thanks to Alexis Bienvenüe . * New debian/shotwell-common.postrm to rebuild icon cache after - purge / remove. + purge / remove with test that gtk-update-icon-cache exists + and is executable. * Change minimal version of libgee-0.8 to 0.10. * debian/control: - Add itstool to Build-Depends. 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 diff --git a/debian/shotwell.lintian-overrides b/debian/shotwell.lintian-overrides index 7eccb8d..c39dad0 100644 --- a/debian/shotwell.lintian-overrides +++ b/debian/shotwell.lintian-overrides @@ -1,5 +1,6 @@ -image-file-in-usr-lib +#image-file-in-usr-lib # # see debian bug #731987 # -sharedobject-in-library-directory-missing-soname +#sharedobject-in-library-directory-missing-soname +non-dev-pkg-with-shlib-symlink -- cgit v1.2.3