diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-04-26 20:31:27 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-04-26 20:31:27 +0200 |
commit | 9e0f5449edfb9f517238e52d4c402e35df05e1f3 (patch) | |
tree | da2b93e84bf57bac80537b9c107901b83140dc56 | |
parent | 21d88ba0ce4b5910341ee10e56a213668bd94165 (diff) | |
download | tde-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>
-rw-r--r-- | ubuntu/_base/metapackages/casper-trinity/debian/distrospecific/profile.d/casper-xauthority.sh | 1 | ||||
-rw-r--r-- | ubuntu/_base/metapackages/casper-trinity/debian/install | 1 |
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 |