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