summarylogtreecommitdiffstats
path: root/virtualbox-ext-vnc.install
diff options
context:
space:
mode:
authorlilac2018-07-29 10:03:29 +0800
committerlilac2018-07-29 10:03:29 +0800
commit7f86a938c2b428f9d0dd0cb35300f6c899e6439a (patch)
treed031f1b3720b2fc9ddaebf16b9d773fdafd6e517 /virtualbox-ext-vnc.install
parenta10246406c16dfc887406df890d0e47894ff3f40 (diff)
downloadaur-7f86a938c2b428f9d0dd0cb35300f6c899e6439a.tar.gz
update by lilac
Diffstat (limited to 'virtualbox-ext-vnc.install')
-rw-r--r--virtualbox-ext-vnc.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/virtualbox-ext-vnc.install b/virtualbox-ext-vnc.install
index 7dc3cedbcb80..d0f188a769aa 100644
--- a/virtualbox-ext-vnc.install
+++ b/virtualbox-ext-vnc.install
@@ -2,7 +2,7 @@
# arg 1: the new package version
post_install() {
- EXTPACK="/usr/share/virtualbox/extensions/VNC-svn.vbox-extpack"
+ EXTPACK="/usr/share/virtualbox/extensions/VNC-${1%%-*}.vbox-extpack"
ACCEPT="$(bsdtar --to-stdout -xf "${EXTPACK}" ./ExtPack-license.txt | sha256sum | head --bytes=64)"
VBoxManage extpack install "${EXTPACK}" --accept-license="${ACCEPT}" >/dev/null
}