Updating link to change in openSUSE:Factory/hicolor-icon-theme revision 15.0
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/hicolor-icon-theme?expand=0&rev=67cc24e60e22441da3cc68a560337f62
This commit is contained in:
parent
6095d06f09
commit
dd45a00929
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 7 14:51:55 CEST 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Reformat macros.hicolor so that the generated scriptlet looks a
|
||||||
|
bit nicer.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 25 15:06:12 CEST 2010 - vuntz@opensuse.org
|
Wed Aug 25 15:06:12 CEST 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ Summary: Fallback Icon Theme
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System/X11/Utilities
|
Group: System/X11/Utilities
|
||||||
Version: 0.12
|
Version: 0.12
|
||||||
Release: 6
|
Release: 7
|
||||||
Url: http://icon-theme.freedesktop.org/wiki/HicolorTheme
|
Url: http://icon-theme.freedesktop.org/wiki/HicolorTheme
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: macros.hicolor
|
Source1: macros.hicolor
|
||||||
|
@ -25,39 +25,39 @@
|
|||||||
#
|
#
|
||||||
###
|
###
|
||||||
|
|
||||||
%icon_theme_cache_create_ghost() \
|
%icon_theme_cache_create_ghost() \
|
||||||
if test "x%1" == "x%%1"; then \
|
if test "x%1" == "x%%1"; then \
|
||||||
echo "Missing argument in call to %%icon_theme_cache_create_ghost." \
|
echo "Missing argument in call to %%icon_theme_cache_create_ghost." \
|
||||||
false \
|
false \
|
||||||
fi \
|
fi \
|
||||||
mkdir -p "%{buildroot}%{_datadir}/icons/%1" \
|
mkdir -p "%{buildroot}%{_datadir}/icons/%1" \
|
||||||
touch "%{buildroot}%{_datadir}/icons/%1/icon-theme.cache"
|
touch "%{buildroot}%{_datadir}/icons/%1/icon-theme.cache"
|
||||||
|
|
||||||
# On install, update the icon cache
|
# On install, update the icon cache
|
||||||
%icon_theme_cache_post() \
|
%icon_theme_cache_post() \
|
||||||
%if "x%1" != "x%%1" \
|
%if "x%1" != "x%%1" \
|
||||||
ICON_THEME="%1" \
|
ICON_THEME="%1" \
|
||||||
%else \
|
%else \
|
||||||
ICON_THEME="hicolor" \
|
ICON_THEME="hicolor" \
|
||||||
%endif \
|
%endif \
|
||||||
if test -x /usr/bin/gtk-update-icon-cache; then \
|
if test -x %{_bindir}/gtk-update-icon-cache; then \
|
||||||
/usr/bin/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \
|
%{_bindir}/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \
|
||||||
elif test -x /usr/bin/gtk-update-icon-cache-3.0; then \
|
elif test -x %{_bindir}/gtk-update-icon-cache-3.0; then \
|
||||||
/usr/bin/gtk-update-icon-cache-3.0 --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \
|
%{_bindir}/gtk-update-icon-cache-3.0 --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# On uninstall, update the icon cache. Note: we ignore upgrades (already
|
# On uninstall, update the icon cache. Note: we ignore upgrades (already
|
||||||
# handled in %post of the new package).
|
# handled in %post of the new package).
|
||||||
%icon_theme_cache_postun() \
|
%icon_theme_cache_postun() \
|
||||||
if [ $1 -eq 0 ]; then \
|
if [ $1 -eq 0 ]; then \
|
||||||
%if "x%1" != "x%%1" \
|
%if "x%1" != "x%%1" \
|
||||||
ICON_THEME="%1" \
|
ICON_THEME="%1" \
|
||||||
%else \
|
%else \
|
||||||
ICON_THEME="hicolor" \
|
ICON_THEME="hicolor" \
|
||||||
%endif \
|
%endif \
|
||||||
if test -x /usr/bin/gtk-update-icon-cache; then \
|
if test -x %{_bindir}/gtk-update-icon-cache; then \
|
||||||
/usr/bin/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \
|
%{_bindir}/gtk-update-icon-cache --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \
|
||||||
elif test -x /usr/bin/gtk-update-icon-cache-3.0; then \
|
elif test -x %{_bindir}/gtk-update-icon-cache-3.0; then \
|
||||||
/usr/bin/gtk-update-icon-cache-3.0 --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \
|
%{_bindir}/gtk-update-icon-cache-3.0 --quiet --force "%{_datadir}/icons/${ICON_THEME}" || true \
|
||||||
fi \
|
fi \
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user