Ticket #13256: dialog_functions.sh.patch
File dialog_functions.sh.patch, 796 bytes (added by , 5 years ago) |
---|
-
dialog_functions.sh
old new 55 55 if [ -z "$SU" ] ; then 56 56 SU=`which gksu` 57 57 58 if [ -z "$SU_TYPE" ] ; then58 if [ -z "$SU_TYPE" ] && [ -n "$SU" ]; then 59 59 SU_TYPE=gksu 60 60 fi 61 61 fi … … 156 156 else 157 157 if [ "$DE" = "kde" ]; then 158 158 $SU_TYPE adduser `whoami` mythtv 159 elif [ "$SU_TYPE" -eq "sudo" ]; then 160 $SU_TYPE adduser `whoami` mythtv --prompt "Please enter your current login password to add `whoami` to the mythtv group." 159 161 else 160 162 $SU_TYPE adduser `whoami` mythtv --message "Please enter your current login password to add `whoami` to the mythtv group." 161 163 fi