summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/metapackages/casper-trinity/debian
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
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')
-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