Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6
lxqt-session
lxqt-0.13.0-xdg-config-dir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lxqt-0.13.0-xdg-config-dir.patch of Package lxqt-session
Added because of: https://bugzilla.suse.com/show_bug.cgi?id=1099800 This patch was proposed by Simon Quigly and was declined by upstream. See discussion at: https://github.com/lxqt/lxqt-session/pull/126/files From e76f0ebf14b2d54495b3fa27fe751b229b15f6d8 Mon Sep 17 00:00:00 2001 From: Simon Quigley <tsimonq2@ubuntu.com> Date: Fri, 25 May 2018 22:57:21 -0500 Subject: [PATCH] Ensure all paths are added to $XDG_CONFIG_DIRS. diff -urEbw lxqt-session-1.1.0/startlxqt.in lxqt-session-1.1.0.new/startlxqt.in --- lxqt-session-1.1.0/startlxqt.in 2022-04-16 15:16:20.000000000 +0200 +++ lxqt-session-1.1.0.new/startlxqt.in 2022-04-29 08:02:41.790512998 +0200 @@ -26,9 +26,11 @@ if [ -z "$XDG_CONFIG_DIRS" ]; then export XDG_CONFIG_DIRS="@PREDEF_XDG_CONFIG_DIRS@" else - if ! contains "$XDG_CONFIG_DIRS" '@LXQT_ETC_XDG_DIR@'; then - XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS:@LXQT_ETC_XDG_DIR@" + for directory in "/etc" "@LXQT_ETC_XDG_DIR@" "/usr/share"; do + if ! contains "$XDG_CONFIG_DIRS" "$directory"; then + XDG_CONFIG_DIRS="$XDG_CONFIG_DIRS:$directory" fi + done fi if [ -z "$XDG_CACHE_HOME" ]; then
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor