Include HighContrast icons
Update the files list and the rpm icon cache scriptlets for HighContrast icons.
This commit is contained in:
parent
353c69ecfb
commit
11d2ba67bf
@ -80,20 +80,26 @@ desktop-file-install --delete-original \
|
|||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%post
|
%post
|
||||||
touch --no-create %{_datadir}/icons/hicolor || :
|
for d in hicolor HighContrast ; do
|
||||||
|
touch --no-create %{_datadir}/icons/$d &>/dev/null || :
|
||||||
|
done
|
||||||
update-desktop-database %{_datadir}/applications &> /dev/null
|
update-desktop-database %{_datadir}/applications &> /dev/null
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
update-desktop-database %{_datadir}/applications &> /dev/null
|
update-desktop-database %{_datadir}/applications &> /dev/null
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
for d in hicolor HighContrast ; do
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
touch --no-create %{_datadir}/icons/$d &>/dev/null || :
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
|
||||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
|
for d in hicolor HighContrast ; do
|
||||||
|
gtk-update-icon-cache %{_datadir}/icons/$d &>/dev/null || :
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
@ -106,7 +112,8 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
|
|||||||
|
|
||||||
%dir %{_datadir}/gnome-disk-utility
|
%dir %{_datadir}/gnome-disk-utility
|
||||||
%{_datadir}/gnome-disk-utility/*.ui
|
%{_datadir}/gnome-disk-utility/*.ui
|
||||||
%{_datadir}/icons/hicolor/*
|
%{_datadir}/icons/hicolor/*/apps/gnome-disks*
|
||||||
|
%{_datadir}/icons/HighContrast/*/apps/gnome-disks.png
|
||||||
|
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user