Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
nmap
su-to-zenmap.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File su-to-zenmap.patch of Package nmap
Index: zenmap/install_scripts/unix/su-to-zenmap.sh =================================================================== --- zenmap/install_scripts/unix/su-to-zenmap.sh.orig 2009-05-03 05:33:50.000000000 +0100 +++ zenmap/install_scripts/unix/su-to-zenmap.sh 2012-03-26 22:20:29.000000000 +0100 @@ -13,8 +13,8 @@ if test "$euid" = "$privid"; then $COMMAND else if test -z "$SU_TO_ROOT_X"; then - if which gksu >/dev/null 2>&1 ; then - SU_TO_ROOT_X=gksu + if which gnomesu >/dev/null 2>&1 ; then + SU_TO_ROOT_X=gnomesu if test "X$KDE_FULL_SESSION" = "Xtrue" ; then if which kdesu >/dev/null 2>&1 ; then SU_TO_ROOT_X=kdesu @@ -39,8 +39,8 @@ else fi fi case $SU_TO_ROOT_X in - gksu) gksu -u "$PRIV" "$COMMAND";; - kdesu) kdesu -u "$PRIV" "$COMMAND";; + gnomesu) gnomesu -u "$PRIV" -c "$COMMAND";; + kdesu) kdesu -u "$PRIV" -c "$COMMAND";; kde4su) /usr/lib/kde4/libexec/kdesu -u "$PRIV" "$COMMAND";; ktsuss) ktsuss -u "$PRIV" "$COMMAND";; # As a last resort, open a new xterm use sudo/su
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor