Update MIME database in scriptlets.
svn: r3522
This commit is contained in:
parent
76196868d7
commit
574db1bd17
@ -93,12 +93,20 @@ GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` \
|
||||
gconftool-2 --makefile-install-rule \
|
||||
%{_sysconfdir}/gconf/schemas/gramps.schemas > /dev/null
|
||||
/usr/bin/update-desktop-database %{_datadir}/applications &> /dev/null
|
||||
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null
|
||||
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
|
||||
|
||||
%postun
|
||||
if which scrollkeeper-update>/dev/null 2>&1; then scrollkeeper-update; fi
|
||||
if [ "$1" = "0" ]; then
|
||||
/usr/bin/update-desktop-database %{_datadir}/applications &> /dev/null
|
||||
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Tue Aug 31 2004 Tim Waugh <twaugh@redhat.com>
|
||||
- Update MIME database in scriptlets.
|
||||
|
||||
* Tue Dec 2 2003 Tim Waugh <twaugh@redhat.com>
|
||||
- More docs.
|
||||
- Change Copyright: to License:.
|
||||
|
Loading…
Reference in New Issue
Block a user