Changeset 36681 in vbox
- Timestamp:
- Apr 15, 2011 10:17:02 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 71184
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/autorun.sh
r36658 r36681 50 50 case "$gxtpath" in ?*) 51 51 TITLE="VirtualBox Guest Additions installation" 52 TITLE_QUOTED=`quotify "$TITLE"` 53 BINARY=`quotify $i` 54 exec /bin/sh "$path/runasroot.sh" \ 55 "$TITLE" \ 56 "$gxtpath $gxttitle $TITLE_QUOTED $gxtexec $BINARY --xwin" \ 57 "Please try running $i manually." 52 BINARY="`quotify "$i"`" 53 exec "$gxtpath" "$gxttitle" "$TITLE" "$gxtexec" "$path/runasroot.sh" --has-terminal "$TITLE" "$BINARY --xwin" "Please try running "\""$i"\"" manually." 58 54 exit 59 55 ;; -
trunk/src/VBox/Installer/linux/runasroot.sh
r36667 r36681 24 24 exit 1 25 25 fi 26 27 HAS_TERMINAL="" 28 case "$1" in "--has-terminal") 29 shift 30 HAS_TERMINAL="yes" 31 ;; 32 esac 26 33 27 34 case "$#" in "2"|"3") … … 58 65 esac 59 66 60 KDESU="`mywhich kdesu`"61 case "$KDESU" in ?*)62 "$KDESU" -c "$COMMAND"63 exit64 ;;65 esac66 67 67 GKSU="`mywhich gksu`" 68 68 case "$GKSU" in ?*) … … 81 81 # are installed. However it is very generic and does not allow for any 82 82 # custom messages. Thus it comes after gksu. 83 ## @todo should we insist on either a display or a terminal? 84 # case "$DISPLAY$HAS_TERMINAL" in ?*) 83 85 PKEXEC="`mywhich pkexec`" 84 86 case "$PKEXEC" in ?*) 85 87 eval "\"$PKEXEC\" $COMMAND" 86 88 exit 89 ;; 90 esac 91 # ;;S 92 #esac 93 94 case "$HAS_TERMINAL" in ?*) 95 SU="`mywhich su`" 96 case "$SU" in ?*) 97 "$SU" - root -c "$COMMAND" 98 exit 99 ;; 100 esac 87 101 ;; 88 102 esac
Note:
See TracChangeset
for help on using the changeset viewer.