- fix find call, type expects one char

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/update-desktop-files?expand=0&rev=50
This commit is contained in:
Stephan Kulow 2014-09-23 08:30:47 +00:00 committed by Git OBS Bridge
parent 1a91f9e898
commit 44483e4fb6
2 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,7 @@ if ! test -w $BASEDIR; then
fi
find /$RPM_BUILD_ROOT/usr/share /$RPM_BUILD_ROOT/etc/xdg/autostart/ \
-type -f \( -name '*.desktop' -o -name .directory \) 2>/dev/null | while read -r FILE; do
-type f \( -name '*.desktop' -o -name .directory \) 2>/dev/null | while read -r FILE; do
if grep -q ^X-SuSE-translate= "$FILE"; then
echo "DEBUG: $FILE contains X-SuSE-translate - skipping" >&2

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Sep 23 08:29:33 UTC 2014 - coolo@suse.com
- fix find call, type expects one char
-------------------------------------------------------------------
Thu Jul 24 11:59:42 UTC 2014 - gber@opensuse.org