summaryrefslogtreecommitdiff
path: root/user/xdg-utils/xdg-su-lxqt.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-18 13:35:15 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-18 13:35:15 +0000
commitdef11e34d75ea14e4f9f44d75e6da19eba47a7a4 (patch)
tree96b73eec8dd71cf7fbef522814568db91a14e645 /user/xdg-utils/xdg-su-lxqt.patch
parent33fce3ea5990bf07c9fda44f136d7810a1883445 (diff)
downloadpackages-def11e34d75ea14e4f9f44d75e6da19eba47a7a4.tar.gz
packages-def11e34d75ea14e4f9f44d75e6da19eba47a7a4.tar.bz2
packages-def11e34d75ea14e4f9f44d75e6da19eba47a7a4.tar.xz
packages-def11e34d75ea14e4f9f44d75e6da19eba47a7a4.zip
user/xdg-utils: fix many papercuts via fd.o MRs
Diffstat (limited to 'user/xdg-utils/xdg-su-lxqt.patch')
-rw-r--r--user/xdg-utils/xdg-su-lxqt.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/xdg-utils/xdg-su-lxqt.patch b/user/xdg-utils/xdg-su-lxqt.patch
new file mode 100644
index 000000000..dccc4e214
--- /dev/null
+++ b/user/xdg-utils/xdg-su-lxqt.patch
@@ -0,0 +1,28 @@
+Upstream-Bug: https://bugzilla.suse.com/show_bug.cgi?id=1120397
+Upstream-Bug: https://github.com/lxqt/lxqt/issues/1653
+
+From 132cbff34f00f67a83ea58919a982abe600f25c3 Mon Sep 17 00:00:00 2001
+From: Fabio Pesari <posta@parallelo.eu>
+Date: Sun, 7 Jul 2019 13:08:33 +0000
+Subject: [PATCH] xdg-su: Fix escaping for lxqt-sudo
+
+---
+ scripts/xdg-su.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scripts/xdg-su.in b/scripts/xdg-su.in
+index b7a9865..65463eb 100644
+--- a/scripts/xdg-su.in
++++ b/scripts/xdg-su.in
+@@ -84,7 +84,7 @@ su_lxqt()
+ if [ $? -eq 0 ] ; then
+ if [ -z "$user" ] ; then
+ # -s option runs as su rather then sudo
+- $LXQTSU -s "$cmd"
++ $LXQTSU -s $cmd
+ else
+ # lxqt-sudo does not support specifying a user
+ su_generic
+--
+2.21.0
+