mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
Forgot to add the install file for virtualbox-ext-oracle
This commit is contained in:
parent
6f9ae2acdc
commit
d6135aab25
17
virtualbox-ext-oracle/virtualbox-ext-oracle.install
Normal file
17
virtualbox-ext-oracle/virtualbox-ext-oracle.install
Normal file
@ -0,0 +1,17 @@
|
||||
post_install () {
|
||||
VBoxManage extpack install "/usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-${1%%-*}.vbox-extpack" >/dev/null
|
||||
}
|
||||
|
||||
pre_upgrade() {
|
||||
post_remove $*
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $*
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack" >/dev/null
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 ft=sh et:
|
Loading…
Reference in New Issue
Block a user