work for virtualbox qt5

This commit is contained in:
Ertuğrul Erata
2015-08-12 09:52:10 +03:00
parent 8373639c89
commit df50cf6e59
37 changed files with 1572 additions and 0 deletions
@@ -0,0 +1,13 @@
#/usr/bin/python
# -*- coding: utf-8 -*-
import os
files = ("VBoxHeadless", "VBoxNetAdpCtl", "VBoxNetDHCP", "VBoxSDL", "VirtualBox")
vboxgroup = "vboxusers"
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
for _file in files:
f = "/usr/lib/virtualbox/%s" % _file
os.system("/bin/chown :%s %s" % (vboxgroup, f))
os.chmod(f, 04510)