From 95c1c4a0e04fc42ff8135ffd4f84f01d70bef188 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 1 May 2007 07:46:30 +0000 Subject: [PATCH] don't let gimp-plugin-mgr --uninstall fail %pre/%preun scriptlets --- gimp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gimp.spec b/gimp.spec index e6b5066..3605063 100644 --- a/gimp.spec +++ b/gimp.spec @@ -273,7 +273,7 @@ install -m 0755 gimp-plugin-mgr %{buildroot}%{_sbindir}/gimp-plugin-mgr # First, remove old symlinks which are possibly in an old location (before a # major version update) if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then - %{_sbindir}/gimp-plugin-mgr --uninstall '*' + %{_sbindir}/gimp-plugin-mgr --uninstall '*' || : fi %post @@ -288,7 +288,7 @@ fi %preun # Only delete symlinks when uninstalling if [ "$1" = "0" ]; then - %{_sbindir}/gimp-plugin-mgr --uninstall '*' + %{_sbindir}/gimp-plugin-mgr --uninstall '*' || : fi %postun @@ -421,6 +421,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Tue May 01 2007 Nils Philippsen - 2:2.2.14-5 +- don't let gimp-plugin-mgr --uninstall fail %%pre/%%preun scriptlets + * Mon Apr 30 2007 Nils Philippsen - 2:2.2.14-4 - fix plugin symlinks handling better (#238337)