summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base
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:32:13 +0200
commit7d88f8fd7c2cb81a16e9bc99f93d512ba7bd8009 (patch)
tree7e0a42627d5b07b55993b7286443c0db1800e3f7 /ubuntu/_base
parent439da8db91e9beed6af6c4de6a4a72ac370351e0 (diff)
downloadtde-packaging-7d88f8fd7c2cb81a16e9bc99f93d512ba7bd8009.tar.gz
tde-packaging-7d88f8fd7c2cb81a16e9bc99f93d512ba7bd8009.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> (cherry picked from commit 9e0f5449edfb9f517238e52d4c402e35df05e1f3)
Diffstat (limited to 'ubuntu/_base')
-rw-r--r--ubuntu/_base/metapackages/casper-trinity/debian/distrospecific/profile.d/casper-xauthority.sh1
-rw-r--r--ubuntu/_base/metapackages/casper-trinity/debian/install1
2 files changed, 2 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")
diff --git a/ubuntu/_base/metapackages/casper-trinity/debian/install b/ubuntu/_base/metapackages/casper-trinity/debian/install
index fc8f31aa9..b4a3c43b1 100644
--- a/ubuntu/_base/metapackages/casper-trinity/debian/install
+++ b/ubuntu/_base/metapackages/casper-trinity/debian/install
@@ -1 +1,2 @@
+profile.d etc
scripts usr/share/initramfs-tools