Update icon cache scriptlet per packaging guidelines
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache
This commit is contained in:
parent
63cdcdea4e
commit
58d375b409
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: devhelp
|
Name: devhelp
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -104,6 +104,7 @@ touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
|
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -136,6 +137,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 1:3.0.0-2
|
||||||
|
- Update icon cache scriptlet
|
||||||
|
|
||||||
* Mon Apr 4 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.0.0-1
|
* Mon Apr 4 2011 Tomas Bzatek <tbzatek@redhat.com> - 3.0.0-1
|
||||||
- Update to 3.0.0
|
- Update to 3.0.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user