[Frugalware-darcs] emul32-tools: emul32: added xhost access granting

Christian Hamar alias krix krics at linuxforum.hu
Thu Nov 23 11:43:38 CET 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=emul32-tools;a=darcs_commitdiff;h=20061123104309-d209c-4790809e62ee79aaacb28d7be9017d475e0d6c8e.gz;

[emul32: added xhost access granting
Christian Hamar alias krix <krics at linuxforum.hu>**20061123104309
   * Added check for xhost local:localhost (need to work X from 32bit chroot)
   * Added xhost -local:localhost after we finished our work
 
] {
hunk ./emul32 28
+if [ ! "`xhost | grep LOCAL`" ]; then
+	xhost local:localhost >/dev/null
+fi
+
hunk ./emul32 35
+xhost -local:localhost >/dev/null
+
}


More information about the Frugalware-darcs mailing list