Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:RISCV:NonFree
nmap
su-to-zenmap.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File su-to-zenmap.patch of Package nmap
Index: nmap-7.94/zenmap/install_scripts/unix/su-to-zenmap.sh =================================================================== --- nmap-7.94.orig/zenmap/install_scripts/unix/su-to-zenmap.sh +++ nmap-7.94/zenmap/install_scripts/unix/su-to-zenmap.sh @@ -19,8 +19,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 @@ -45,7 +45,7 @@ else fi fi case $SU_TO_ROOT_X in - gksu) gksu -u "$PRIV" "$COMMAND";; + gnomesu) gnomesu -u "$PRIV" -c "$COMMAND";; kdesu) kdesu -u "$PRIV" -c "$COMMAND";; kde4su) /usr/lib/kde4/libexec/kdesu -u "$PRIV" -c "$COMMAND";; ktsuss) ktsuss -u "$PRIV" "$COMMAND";;
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