aboutsummaryrefslogtreecommitdiff
path: root/x11/kdebase11/files/patch-ai
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kdebase11/files/patch-ai')
-rw-r--r--x11/kdebase11/files/patch-ai16
1 files changed, 9 insertions, 7 deletions
diff --git a/x11/kdebase11/files/patch-ai b/x11/kdebase11/files/patch-ai
index fe823137c467..dfb68afdf648 100644
--- a/x11/kdebase11/files/patch-ai
+++ b/x11/kdebase11/files/patch-ai
@@ -1,13 +1,15 @@
-*** kfm/kfmsu2.in~ Sat Dec 19 22:05:05 1998
---- kfm/kfmsu2.in Tue Dec 29 00:47:31 1998
+*** kfm/kfmsu2.in~ Wed Feb 17 09:39:57 1999
+--- kfm/kfmsu2.in Mon May 3 18:16:31 1999
***************
-*** 7,10 ****
+*** 7,11 ****
echo ""
echo "Logging in as super user"
-! su - root -c "DISPLAY=$DISPLAY; export DISPLAY; @kde_bindir@/kfm -sw >/dev/null"
- xhost -local:
---- 7,10 ----
+!
+ # Test KDEDIR first, otherwise use hardcoded path (allows to move the KDE dir)
+ if test -f $KDEDIR/bin/kfm ; then
+--- 7,11 ----
echo ""
echo "Logging in as super user"
! su root -c "echo DISPLAY=$DISPLAY @kde_bindir@/kfm -sw | /bin/sh > /dev/null"
- xhost -local:
+ # Test KDEDIR first, otherwise use hardcoded path (allows to move the KDE dir)
+ if test -f $KDEDIR/bin/kfm ; then