1
0

Accepting request 50351 from home:lnussel:clamz

Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/50351
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/desktop-file-utils?expand=0&rev=17
This commit is contained in:
Vincent Untz 2010-10-12 13:49:47 +00:00 committed by Git OBS Bridge
parent b7d09f5379
commit 56dcb82b96
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 12 12:19:16 UTC 2010 - lnussel@suse.de
- fix macros
-------------------------------------------------------------------
Thu Oct 7 14:11:12 CEST 2010 - vuntz@opensuse.org

View File

@ -19,9 +19,9 @@
if test -x %{_bindir}/update-desktop-database; then \
%if "x%1" != "x%%1" \
%{_bindir}/update-desktop-database --quiet "%1" || true \
%endif \
%{_bindir}/update-desktop-database --quiet "%{_datadir}/applications" || true \
%else \
%{_bindir}/update-desktop-database --quiet "%{_datadir}/applications" || true \
%endif \
fi
# On uninstall, update the desktop database. Note: we ignore upgrades (already
@ -32,8 +32,8 @@ if [ $1 -eq 0 ]; then
%{_bindir}/update-desktop-database --quiet "${DESKTOP_DIR}" || true \
%if "x%1" != "x%%1" \
%{_bindir}/update-desktop-database --quiet "%1" || true \
%endif \
%{_bindir}/update-desktop-database --quiet "%{_datadir}/applications" || true \
%else \
%{_bindir}/update-desktop-database --quiet "%{_datadir}/applications" || true \
%endif \
fi \
fi