summaryrefslogtreecommitdiffstats
path: root/system/virtualbox-addons/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox-addons/doinst.sh')
-rw-r--r--system/virtualbox-addons/doinst.sh17
1 files changed, 3 insertions, 14 deletions
diff --git a/system/virtualbox-addons/doinst.sh b/system/virtualbox-addons/doinst.sh
index 97afad9c3e..57d62138c3 100644
--- a/system/virtualbox-addons/doinst.sh
+++ b/system/virtualbox-addons/doinst.sh
@@ -22,24 +22,13 @@ preserve_perms() {
config $NEW
}
-# Fix starting of kde within virtualbox
+# Old kwin update to fix starting kde in virtualbox.
+# No longer necessary
BLACKLIST="usr/share/apps/kconf_update/kwin_blacklist.upd"
if [ -f "$BLACKLIST" ]; then
- VBOX_TEST=$(grep -c "Blacklist-virtualbox" $BLACKLIST)
-else
- VBOX_TEST="0"
+ rm -f "$BLACKLIST"
fi
-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