summaryrefslogtreecommitdiff
path: root/system/virtualbox-ose-addons/doinst.sh
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:42:19 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:42:19 +0200
commit1d7c033e170e304dfc6245a9f3c2c0a4f18405be (patch)
treee84fc9a2eac0e70bff1597e534e5664890c25227 /system/virtualbox-ose-addons/doinst.sh
parenteea5b77a6acccb41ff1f24f0a6c61ce760f5e5bb (diff)
downloadslackbuilds-1d7c033e170e304dfc6245a9f3c2c0a4f18405be.tar.gz
system/virtualbox-ose-addons: Updated for version 3.1.2
Diffstat (limited to 'system/virtualbox-ose-addons/doinst.sh')
-rw-r--r--system/virtualbox-ose-addons/doinst.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/virtualbox-ose-addons/doinst.sh b/system/virtualbox-ose-addons/doinst.sh
index a19270331f..9b1e606f30 100644
--- a/system/virtualbox-ose-addons/doinst.sh
+++ b/system/virtualbox-ose-addons/doinst.sh
@@ -12,7 +12,7 @@ config() {
}
# Prepare the new configuration files
-for file in etc/rc.d/rc.vboxadd.new etc/rc.d/rc.vboxadd-timesync.new; do
+for file in etc/rc.d/rc.vboxadd.new etc/rc.d/rc.vboxadd-service.new; do
if [ -e $(dirname $file)/$(basename $file .new) -a -x $(dirname $file)/$(basename $file .new) ]; then
chmod 0755 $file
else
@@ -21,3 +21,8 @@ for file in etc/rc.d/rc.vboxadd.new etc/rc.d/rc.vboxadd-timesync.new; do
config $file
done
+# remove existing fdi cache to recognize newly installed fdi files
+# and restart hal to regenerate the cache
+rm -f var/cache/hald/fdi-cache
+chroot . /etc/rc.d/rc.hald restart
+