UnitedRPMs / deadbeef

A music player with *.cue support
1 stars 0 forks source link

no scriptlets #2

Closed ghost closed 8 years ago

ghost commented 8 years ago

deadbeef.spec no scriptlets icon cache, desktop-database

_https://fedoraproject.org/wiki/Packaging:Scriptlets#Icon_Cache_ https://fedoraproject.org/wiki/Packaging:Scriptlets#desktop-database

ghost commented 8 years ago

ping?

paulcarroty commented 8 years ago

@kuboosoft pls merge scriplets from first commit.

ghost commented 8 years ago

Need to add in deadbeef.spec

%post
/usr/bin/update-desktop-database &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :

%postun
/usr/bin/update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
    /bin/touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
fi

%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
paulcarroty commented 8 years ago

fixed in 0.7.2-2