OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/update-desktop-files?expand=0&rev=5
This commit is contained in:
parent
5c523a1027
commit
badfc630b8
@ -219,7 +219,7 @@ if grep -q ^Categories= $FILE; then
|
||||
else
|
||||
if [ -n "${CAT%;}" ]; then
|
||||
sed -e '/^\[Desktop Entry\]/a \
|
||||
'"Categories=${CAT%;}" $FILE > ${FILE}_ && mv ${FILE}_ $FILE
|
||||
'"Categories=${CAT%;};" $FILE > ${FILE}_ && mv ${FILE}_ $FILE
|
||||
fi
|
||||
fi
|
||||
if [ "$UNIMPORTANT" = "yes" ]; then
|
||||
@ -356,3 +356,5 @@ if [ "$EXEC" != "$_EXEC" ]; then
|
||||
sed -e "s,^Exec=.*,Exec=${CHK} ${EXEC}," "$FILE" > "${FILE}.new" &&
|
||||
mv "${FILE}.new" "${FILE}"
|
||||
fi
|
||||
|
||||
/usr/bin/desktop-file-validate "${FILE}"
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 25 14:45:06 CEST 2007 - coolo@suse.de
|
||||
|
||||
- following suggestion on IRC and call desktop-file-validate
|
||||
as part of the build check
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 24 16:23:40 CEST 2007 - coolo@suse.de
|
||||
|
||||
|
@ -12,12 +12,13 @@
|
||||
|
||||
Name: update-desktop-files
|
||||
Version: 10.3
|
||||
Release: 8
|
||||
Release: 10
|
||||
Summary: A Build Tool to Update Desktop Files
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Development/Tools/Building
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: desktop-translations = %{version}
|
||||
Requires: desktop-file-utils
|
||||
Autoreqprov: on
|
||||
Source: suse_update_desktop_file.sh
|
||||
Source1: map-desktop-category.sh
|
||||
@ -121,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
/usr/share/locale/*/LC_MESSAGES/*mo
|
||||
|
||||
%changelog
|
||||
* Wed Apr 25 2007 - coolo@suse.de
|
||||
- following suggestion on IRC and call desktop-file-validate
|
||||
as part of the build check
|
||||
* Tue Apr 24 2007 - coolo@suse.de
|
||||
- don't look at /usr/share twice
|
||||
* Tue Apr 24 2007 - coolo@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user