initial import
This commit is contained in:
13
xenocara-xinit/fix-hostname.patch
Normal file
13
xenocara-xinit/fix-hostname.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/app/xinit/startx.cpp b/app/xinit/startx.cpp
|
||||
index 3ab9a26a..d26ab927 100644
|
||||
--- a/startx.cpp
|
||||
+++ b/startx.cpp
|
||||
@@ -255,6 +255,8 @@ if [ x"$enable_xauth" = x1 ] ; then
|
||||
Linux*)
|
||||
if [ -z "`hostname --version 2>&1 | grep GNU`" ]; then
|
||||
hostname=`hostname -f`
|
||||
+ elif [ -z "`hostname --version 2>&1 | grep net-tools`" ]; then
|
||||
+ hostname=`hostname -f`
|
||||
else
|
||||
hostname=`hostname`
|
||||
fi
|
||||
Reference in New Issue
Block a user