|
|
|
@ -98,30 +98,30 @@ test "$(grep '^Inherits=' %{buildroot}%{_datadir}/icons/breeze-dark/index.theme)
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} > 25
|
|
|
|
|
## trigger-based scriptlets
|
|
|
|
|
%filetriggerin -- %{_kf5_datadir}/icons/breeze
|
|
|
|
|
touch %{_kf5_datadir}/icons/breeze &> /dev/null || :
|
|
|
|
|
%filetriggerin -- %{_datadir}/icons/breeze
|
|
|
|
|
touch %{_datadir}/icons/breeze &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%filetriggerin -- %{_kf5_datadir}/icons/breeze-dark
|
|
|
|
|
touch %{_kf5_datadir}/icons/breeze-dark &> /dev/null || :
|
|
|
|
|
%filetriggerin -- %{_datadir}/icons/breeze-dark
|
|
|
|
|
touch %{_datadir}/icons/breeze-dark &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%transfiletriggerin -- %{_kf5_datadir}/icons/breeze
|
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/breeze &>/dev/null || :
|
|
|
|
|
%transfiletriggerin -- %{_datadir}/icons/breeze
|
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/breeze &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
%transfiletriggerin -- %{_kf5_datadir}/icons/breeze-dark
|
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/breeze-dark &>/dev/null || :
|
|
|
|
|
%transfiletriggerin -- %{_datadir}/icons/breeze-dark
|
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/breeze-dark &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
# arg, looks like this case cannot be handled by triggers? -- rex
|
|
|
|
|
%postun
|
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
|
touch --no-create %{_kf5_datadir}/icons/breeze &> /dev/null || :
|
|
|
|
|
touch --no-create %{_kf5_datadir}/icons/breeze-dark &> /dev/null || :
|
|
|
|
|
touch --no-create %{_datadir}/icons/breeze &> /dev/null || :
|
|
|
|
|
touch --no-create %{_datadir}/icons/breeze-dark &> /dev/null || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%transfiletriggerpostun -- %{_kf5_datadir}/icons/breeze
|
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/breeze &>/dev/null || :
|
|
|
|
|
%transfiletriggerpostun -- %{_datadir}/icons/breeze
|
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/breeze &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
%transfiletriggerpostun -- %{_kf5_datadir}/icons/breeze-dark
|
|
|
|
|
gtk-update-icon-cache %{_kf5_datadir}/icons/breeze-dark &>/dev/null || :
|
|
|
|
|
%transfiletriggerpostun -- %{_datadir}/icons/breeze-dark
|
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/breeze-dark &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
## classic scriptlets
|
|
|
|
|