summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/metapackages/casper-trinity/debian/distrospecific
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-04-26 20:31:27 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-04-26 20:31:27 +0200
commit9e0f5449edfb9f517238e52d4c402e35df05e1f3 (patch)
treeda2b93e84bf57bac80537b9c107901b83140dc56 /ubuntu/_base/metapackages/casper-trinity/debian/distrospecific
parent21d88ba0ce4b5910341ee10e56a213668bd94165 (diff)
downloadtde-packaging-9e0f5449edfb9f517238e52d4c402e35df05e1f3.tar.gz
tde-packaging-9e0f5449edfb9f517238e52d4c402e35df05e1f3.zip
DEB casper-trinity: Add an export for XAUTHORITY to allow X programs to work with sudo.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/metapackages/casper-trinity/debian/distrospecific')
-rw-r--r--ubuntu/_base/metapackages/casper-trinity/debian/distrospecific/profile.d/casper-xauthority.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/ubuntu/_base/metapackages/casper-trinity/debian/distrospecific/profile.d/casper-xauthority.sh b/ubuntu/_base/metapackages/casper-trinity/debian/distrospecific/profile.d/casper-xauthority.sh
new file mode 100644
index 000000000..38e1b3de1
--- /dev/null
+++ b/ubuntu/_base/metapackages/casper-trinity/debian/distrospecific/profile.d/casper-xauthority.sh
@@ -0,0 +1 @@
+export XAUTHORITY=$(xauth info | sed -n "s|Authority file:[ \t]*||p")