Lines 336-342
su_gnome()
Link Here
|
336 |
{ |
336 |
{ |
337 |
GSU=`which gnomesu 2>/dev/null` |
337 |
GSU=`which gnomesu 2>/dev/null` |
338 |
if [ $? -ne 0 ] ; then |
338 |
if [ $? -ne 0 ] ; then |
339 |
GSU=`which xsu 2>/dev/null` |
339 |
GSU=`which gksu 2>/dev/null` |
340 |
fi |
340 |
fi |
341 |
if [ $? -eq 0 ] ; then |
341 |
if [ $? -eq 0 ] ; then |
342 |
if [ -z "$user" ] ; then |
342 |
if [ -z "$user" ] ; then |
Lines 412-418
fi
Link Here
|
412 |
detectDE |
412 |
detectDE |
413 |
|
413 |
|
414 |
if [ x"$DE" = x"" ]; then |
414 |
if [ x"$DE" = x"" ]; then |
415 |
XSU=`which xsu 2>/dev/null` |
415 |
XSU=`which gksu 2>/dev/null` |
416 |
if [ $? -eq 0 ] ; then |
416 |
if [ $? -eq 0 ] ; then |
417 |
DE=generic |
417 |
DE=generic |
418 |
fi |
418 |
fi |