Changeset 2530 in vbox for trunk/src/VBox/Additions
- Timestamp:
- May 8, 2007 9:09:54 AM (18 years ago)
- Location:
- trunk/src/VBox/Additions/linux/installer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-timesync.sh
r1715 r2530 37 37 system=gentoo 38 38 PIDFILE="/var/run/vboxadd-timesync" 39 elif [ -f /etc/slackware-version ]; then40 system=slackware41 39 else 42 echo "$0: Unknown system" 1>&2 40 system=other 41 if [ -d /var/run -a -w /var/run ]; then 42 PIDFILE="/var/run/vboxadd-timesync" 43 fi 43 44 fi 44 45 … … 114 115 fi 115 116 116 if [ "$system" = " slackware" ]; then117 if [ "$system" = "other" ]; then 117 118 fail_msg() { 118 119 echo " ...fail!" -
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r1715 r2530 23 23 PATH=$PATH:/bin:/sbin:/usr/sbin 24 24 25 system=unknown26 25 if [ -f /etc/redhat-release ]; then 27 26 system=redhat 28 27 elif [ -f /etc/SuSE-release ]; then 29 28 system=suse 30 elif [ -f /etc/debian_version ]; then31 system=debian32 29 elif [ -f /etc/gentoo-release ]; then 33 30 system=gentoo 34 elif [ -f /etc/slackware-version ]; then35 system=slackware36 31 else 37 echo "$0: Unknown system" 1>&232 system=other 38 33 fi 39 34 … … 72 67 fi 73 68 74 if [ "$system" = "debian" ]; then75 fail_msg() {76 echo " ...fail!"77 }78 79 succ_msg() {80 echo " ...done."81 }82 83 begin() {84 echo -n $185 }86 fi87 88 69 if [ "$system" = "gentoo" ]; then 89 70 . /sbin/functions.sh … … 105 86 fi 106 87 107 if [ "$system" = " slackware" ]; then88 if [ "$system" = "other" ]; then 108 89 fail_msg() { 109 90 echo " ...fail!" -
trunk/src/VBox/Additions/linux/installer/vboxvfs.sh
r1715 r2530 23 23 PATH=$PATH:/bin:/sbin:/usr/sbin 24 24 25 system=unknown26 25 if [ -f /etc/redhat-release ]; then 27 26 system=redhat 28 27 elif [ -f /etc/SuSE-release ]; then 29 28 system=suse 30 elif [ -f /etc/debian_version ]; then31 system=debian32 29 elif [ -f /etc/gentoo-release ]; then 33 30 system=gentoo 34 elif [ -f /etc/slackware-version ]; then35 system=slackware36 31 else 37 echo "$0: Unknown system" 1>&232 system=other 38 33 fi 39 34 … … 72 67 fi 73 68 74 if [ "$system" = "debian" ]; then75 fail_msg() {76 echo " ...fail!"77 }78 79 succ_msg() {80 echo " ...done."81 }82 83 begin() {84 echo -n $185 }86 fi87 88 69 if [ "$system" = "gentoo" ]; then 89 70 . /sbin/functions.sh … … 105 86 fi 106 87 107 if [ "$system" = " slackware" ]; then88 if [ "$system" = "other" ]; then 108 89 fail_msg() { 109 90 echo " ...fail!"
Note:
See TracChangeset
for help on using the changeset viewer.