summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@redhat.com>2011-04-15 17:08:42 -0700
committerChristopher Aillon <caillon@redhat.com>2011-04-15 17:08:42 -0700
commita52b725daad5d764529286146ff12f6fffcc8d7d (patch)
tree9b9c64d15dc562c9c14993f3b2c1e2572ca73db5 /firefox.spec
parentLet's do a -3 release (diff)
downloadlibrewolf-fedora-ff-a52b725daad5d764529286146ff12f6fffcc8d7d.tar.gz
librewolf-fedora-ff-a52b725daad5d764529286146ff12f6fffcc8d7d.tar.bz2
librewolf-fedora-ff-a52b725daad5d764529286146ff12f6fffcc8d7d.zip
Update scriptlets per latest guidelines
http://fedoraproject.org/wiki/Packaging/ScriptletSnippets
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec5
1 files changed, 1 insertions, 4 deletions
diff --git a/firefox.spec b/firefox.spec
index a90b306..cc10598 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -299,16 +299,13 @@ sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" $RPM_BUILD_ROOT/%{
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
%postun
+update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
-update-desktop-database &> /dev/null || :
%preun
# is it a final removal?
bgstack15