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 9e0f5449ed)
pull/92/head
Slávek Banko 5 years ago
parent 439da8db91
commit 7d88f8fd7c
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -0,0 +1 @@
export XAUTHORITY=$(xauth info | sed -n "s|Authority file:[ \t]*||p")

@ -1 +1,2 @@
profile.d etc
scripts usr/share/initramfs-tools scripts usr/share/initramfs-tools

Loading…
Cancel
Save