xinit: Make xauth runtime optional

This commit is contained in:
Dylan Araps 2020-02-10 11:28:59 +02:00
parent 2e8da65146
commit f7c885c402
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
3 changed files with 5 additions and 3 deletions

View File

@ -7,4 +7,6 @@
make
make DESTDIR="$1" install
sed -i 's/enable_xauth=1/enable_xauth=0/' "$1/usr/bin/startx"
# Make xauth optional.
sed -i 's#enable_xauth=1#command -v xauth >/dev/null \&\&&||enable_xauth=0#' \
"$1/usr/bin/startx"

View File

@ -1 +1 @@
libX11 make
libX11

View File

@ -1 +1 @@
1.4.1 2
1.4.1 3