summaryrefslogtreecommitdiffstats
path: root/system/virtualbox-addons/doinst.sh
diff options
context:
space:
mode:
author Heinz Wiesinger <pprkut@liwjatan.at>2011-10-30 21:41:52 -0500
committer Niels Horn <niels.horn@slackbuilds.org>2011-11-04 21:59:29 -0200
commit6566d5e1ef9788c0928c305683f07417e5e839a6 (patch)
tree2fd37394b73daef6d81dada2c891f83bec83ae4c /system/virtualbox-addons/doinst.sh
parent8fc3275b4f1df68c55c82e87a38969b55b3178ba (diff)
downloadslackbuilds-6566d5e1ef9788c0928c305683f07417e5e839a6.tar.gz
slackbuilds-6566d5e1ef9788c0928c305683f07417e5e839a6.tar.xz
system/virtualbox-addons: Updated for version 4.1.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/virtualbox-addons/doinst.sh')
-rw-r--r--system/virtualbox-addons/doinst.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/system/virtualbox-addons/doinst.sh b/system/virtualbox-addons/doinst.sh
index e4d34e9ebd..9af312d442 100644
--- a/system/virtualbox-addons/doinst.sh
+++ b/system/virtualbox-addons/doinst.sh
@@ -23,12 +23,17 @@ preserve_perms() {
}
# Fix starting of kde within virtualbox
-cat << EOF >> usr/share/apps/kconf_update/kwin_blacklist.upd
+BLACKLIST="usr/share/apps/kconf_update/kwin_blacklist.upd"
+VBOX_TEST=$(grep -c "Blacklist-virtualbox" $BLACKLIST)
+
+if [ "$VBOX_TEST" = "0" ]; then
+cat << EOF >> $BLACKLIST
Id=Blacklist-virtualbox
Options=overwrite
File=kwinrc
Script=kwin_blacklist_vbox.sh,sh
EOF
+fi
preserve_perms etc/rc.d/rc.vboxadd.new
preserve_perms etc/rc.d/rc.vboxadd-service.new