Fix patch from 1.1.0-0.23.rc2 (#1086122)
This commit is contained in:
parent
657fc75d5e
commit
d7cc907ff7
@ -1,4 +1,4 @@
|
||||
From 04eda04f2068f709b4a599ec8a06643d4f80565d Mon Sep 17 00:00:00 2001
|
||||
From 29b93bdf83712b75be0d6992da4aafa509ab43b7 Mon Sep 17 00:00:00 2001
|
||||
From: Till Maas <opensource@till.name>
|
||||
Date: Fri, 11 Apr 2014 18:35:34 +0200
|
||||
Subject: [PATCH 10/10] xdg-open: Support multiple groups
|
||||
@ -10,7 +10,7 @@ Desktop Entry group.
|
||||
1 file changed, 25 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/scripts/xdg-open.in b/scripts/xdg-open.in
|
||||
index e7a15a9..b994fa5 100644
|
||||
index e7a15a9..35f4b76 100644
|
||||
--- a/scripts/xdg-open.in
|
||||
+++ b/scripts/xdg-open.in
|
||||
@@ -36,15 +36,36 @@ last_word()
|
||||
@ -46,7 +46,7 @@ index e7a15a9..b994fa5 100644
|
||||
+ # Only match Desktop Entry group
|
||||
+ if [ -n "${desktop_entry}" ]
|
||||
+ then
|
||||
+ echo "${line}" | grep -E "^${key}=" "${file}" | cut -d= -f 2-
|
||||
+ echo "${line}" | grep -E "^${key}=" | cut -d= -f 2-
|
||||
+ fi
|
||||
+ esac
|
||||
+ done < "${file}"
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: Basic desktop integration functions
|
||||
Name: xdg-utils
|
||||
Version: 1.1.0
|
||||
Release: 0.23.%{pre}%{?dist}
|
||||
Release: 0.24.%{pre}%{?dist}
|
||||
|
||||
URL: http://portland.freedesktop.org/
|
||||
%if 0%{?pre:1}
|
||||
@ -108,6 +108,9 @@ make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 15 2014 Till Maas <opensource@till.name> - 1.1.0-0.24.rc2
|
||||
- Fix patch from 1.1.0-0.23.rc2 (#1086122)
|
||||
|
||||
* Fri Apr 11 2014 Till Maas <opensource@till.name> - 1.1.0-0.23.rc2
|
||||
- Fix handling of desktop files with multiple groups (#1086122)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user