don't let gimp-plugin-mgr --uninstall fail %pre/%preun scriptlets
This commit is contained in:
parent
fc7bffd8b7
commit
95c1c4a0e0
@ -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
|
# First, remove old symlinks which are possibly in an old location (before a
|
||||||
# major version update)
|
# major version update)
|
||||||
if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then
|
if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then
|
||||||
%{_sbindir}/gimp-plugin-mgr --uninstall '*'
|
%{_sbindir}/gimp-plugin-mgr --uninstall '*' || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -288,7 +288,7 @@ fi
|
|||||||
%preun
|
%preun
|
||||||
# Only delete symlinks when uninstalling
|
# Only delete symlinks when uninstalling
|
||||||
if [ "$1" = "0" ]; then
|
if [ "$1" = "0" ]; then
|
||||||
%{_sbindir}/gimp-plugin-mgr --uninstall '*'
|
%{_sbindir}/gimp-plugin-mgr --uninstall '*' || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
@ -421,6 +421,9 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 01 2007 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.14-5
|
||||||
|
- don't let gimp-plugin-mgr --uninstall fail %%pre/%%preun scriptlets
|
||||||
|
|
||||||
* Mon Apr 30 2007 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.14-4
|
* Mon Apr 30 2007 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.14-4
|
||||||
- fix plugin symlinks handling better (#238337)
|
- fix plugin symlinks handling better (#238337)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user