don't erroneously delete symlinks to external plugins when updating

(#238337)
This commit is contained in:
Nils Philippsen 2007-04-30 16:45:17 +00:00
parent bfaa990887
commit dcbc8a0be0

View File

@ -43,7 +43,7 @@ Version: 2.2.14
%define age 0
%define minorver 200
%define microver %(ver=%{version}; echo ${ver##*.*.})
Release: 2%{?dist}
Release: 3%{?dist}
Epoch: 2
License: GPL, LGPL
Group: Applications/Multimedia
@ -275,10 +275,13 @@ touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
%{_sbindir}/gimp-plugin-mgr --uninstall '*'
%{_sbindir}/gimp-plugin-mgr --install '*'
%preun
%{_sbindir}/gimp-plugin-mgr --uninstall '*'
if [ "$1" = "0" ]; then
%{_sbindir}/gimp-plugin-mgr --uninstall '*'
fi
%postun
if [ "$1" = "0" ]; then
@ -410,6 +413,9 @@ fi
%{_libdir}/pkgconfig/*
%changelog
* Mon Apr 30 2007 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.14-3
- don't erroneously delete symlinks to external plugins when updating (#238337)
* Mon Apr 30 2007 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.14-2
- avoid buffer overflow in sunras plugin (#238422)