diff options
Diffstat (limited to 'system/virtualbox-ose/doinst.sh')
-rw-r--r-- | system/virtualbox-ose/doinst.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/system/virtualbox-ose/doinst.sh b/system/virtualbox-ose/doinst.sh index 478e3d3460..965ee68a04 100644 --- a/system/virtualbox-ose/doinst.sh +++ b/system/virtualbox-ose/doinst.sh @@ -1,5 +1,3 @@ -#!/bin/sh - config() { NEW="$1" OLD="$(dirname $NEW)/$(basename $NEW .new)" @@ -19,7 +17,7 @@ fi # Prepare the new configuration files config etc/vbox/vbox.cfg.new -for file in etc/rc.d/rc.vboxdrv.new etc/rc.d/rc.vboxnet.new ; do +for file in etc/rc.d/rc.vboxdrv.new ; do if [ -e $(dirname $file)/$(basename $file .new) -a -x $(dirname $file)/$(basename $file .new) ]; then chmod 0755 $file else |