fix scriptlet errors

This commit is contained in:
Matthias Clasen 2007-02-05 14:44:50 +00:00
parent 0ee6425a7e
commit 940df1feb8

View File

@ -4,7 +4,7 @@
Name: devhelp
Version: 0.13
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL
Group: Development/Tools
Summary: API document browser
@ -88,7 +88,8 @@ if [ "$1" -eq 0 ]; then
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || :
fi
%post -p /sbin/ldconfig
%post
/sbin/ldconfig
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null || :
touch --no-create %{_datadir}/icons/hicolor
@ -96,7 +97,8 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
%postun -p /sbin/ldconfig
%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
@ -125,6 +127,9 @@ fi
%{_libdir}/pkgconfig/*
%changelog
* Mon Feb 5 2007 Matthias Clasen <mclasen@redhat.com> - 0.13-3
- Fix scriptlet errors
* Sun Feb 04 2007 Matthew Barnes <mbarnes@redhat.com> - 0.13-2.fc7
- Incorporate suggestions from package review.