From 7d88f8fd7c2cb81a16e9bc99f93d512ba7bd8009 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 26 Apr 2020 20:31:27 +0200 Subject: DEB casper-trinity: Add an export for XAUTHORITY to allow X programs to work with sudo. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 9e0f5449edfb9f517238e52d4c402e35df05e1f3) --- .../casper-trinity/debian/distrospecific/profile.d/casper-xauthority.sh | 1 + ubuntu/_base/metapackages/casper-trinity/debian/install | 1 + 2 files changed, 2 insertions(+) create mode 100644 ubuntu/_base/metapackages/casper-trinity/debian/distrospecific/profile.d/casper-xauthority.sh (limited to 'ubuntu') 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 -- cgit v1.2.1