Changeset 15784 in vbox for trunk/src/VBox
- Timestamp:
- Jan 4, 2009 8:02:22 PM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r15585 r15784 52 52 echo 53 53 } 54 55 54 succ_msg() { 56 55 echo_success 57 56 echo 58 57 } 59 60 58 begin() { 61 59 echo -n "$1" … … 69 67 rc_status -v 70 68 } 71 72 69 succ_msg() { 73 70 rc_reset 74 71 rc_status -v 75 72 } 76 77 73 begin() { 78 74 echo -n "$1" … … 81 77 82 78 if [ "$system" = "gentoo" ]; then 83 . /sbin/functions.sh 79 if [ -f /sbin/functions.sh ]; then 80 . /sbin/functions.sh 81 elif [ -f /etc/init.d/functions.sh ]; then 82 . /etc/init.d/functions.sh 83 fi 84 84 fail_msg() { 85 85 eend 1 86 86 } 87 88 87 succ_msg() { 89 88 eend $? 90 89 } 91 92 90 begin() { 93 91 ebegin $1 94 92 } 95 96 93 if [ "`which $0`" = "/sbin/rc" ]; then 97 94 shift … … 103 100 echo " ...fail!" 104 101 } 105 106 102 succ_msg() { 107 103 echo " ...done." 108 104 } 109 110 105 begin() { 111 106 echo -n $1 -
trunk/src/VBox/Installer/linux/vboxdrv.sh.in
r14436 r15784 96 96 } 97 97 elif [ "$system" = "gentoo" ]; then 98 . /sbin/functions.sh 98 if [ -f /sbin/functions.sh ]; then 99 . /sbin/functions.sh 100 elif [ -f /etc/init.d/functions.sh ]; then 101 . /etc/init.d/functions.sh 102 fi 99 103 fail_msg() { 100 104 eerror "$1"
Note:
See TracChangeset
for help on using the changeset viewer.