summaryrefslogtreecommitdiff
path: root/nautilus-installer/src/prescript
diff options
context:
space:
mode:
authorRobey Pointer <robey@src.gnome.org>2000-11-15 09:14:00 +0000
committerRobey Pointer <robey@src.gnome.org>2000-11-15 09:14:00 +0000
commit7eebdc66532e337ec99644c130fdc53af4c84151 (patch)
tree2fdc38786fb8aac0d395067beebb9989d8409683 /nautilus-installer/src/prescript
parentf3a249b00216c17bbb66b6eab2f77f661a8d4fe2 (diff)
downloadnautilus-7eebdc66532e337ec99644c130fdc53af4c84151.tar.gz
Apply kisza's patch (4729) to fix xhost parameters.
* nautilus-installer/src/prescript: Apply kisza's patch (4729) to fix xhost parameters.
Diffstat (limited to 'nautilus-installer/src/prescript')
-rw-r--r--nautilus-installer/src/prescript4
1 files changed, 2 insertions, 2 deletions
diff --git a/nautilus-installer/src/prescript b/nautilus-installer/src/prescript
index e1a2708fb..c1b4f18e0 100644
--- a/nautilus-installer/src/prescript
+++ b/nautilus-installer/src/prescript
@@ -43,9 +43,9 @@ if test $UID -ne 0 -a "x$QUICK" '!=' "xyes"; then
# Start
echo "Please enter root password at the prompt."
- xhost + localhost
+ xhost +localhost
/bin/su -s /bin/sh -c "$params && $export && cd $PWD && echo Uncompressing... && /bin/sh $0 $* --user $USER"
- xhost - localhost
+ xhost -localhost
# FIXME: this will only work if they didn't run as root.
# Move config