Last change
on this file since 93115 was 93115, checked in by vboxsync, 2 years ago |
scm --update-copyright-year
|
-
Property svn:eol-style
set to
LF
|
File size:
1.0 KB
|
Rev | Line | |
---|
[47362] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
| 3 | #
|
---|
[93115] | 4 | # Copyright (C) 2007-2022 Oracle Corporation
|
---|
[47362] | 5 | #
|
---|
| 6 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
| 7 | # available from http://www.virtualbox.org. This file is free software;
|
---|
| 8 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
| 9 | # General Public License (GPL) as published by the Free Software
|
---|
| 10 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
| 11 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
| 12 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
| 13 | #
|
---|
| 14 |
|
---|
[47366] | 15 | set -e
|
---|
| 16 |
|
---|
| 17 | # Check environment.
|
---|
[92500] | 18 | if [ "x${INSTALLER_TEMP}" = "x" ]; then
|
---|
[47366] | 19 | echo "Required environment variable INSTALLER_TEMP is missing. Aborting installation."
|
---|
| 20 | exit 1;
|
---|
| 21 | fi
|
---|
| 22 |
|
---|
[47362] | 23 | # Backup previously installed Extension Packs before
|
---|
| 24 | # installation process will completely remove previously installed
|
---|
| 25 | # VirtualBox distribution.
|
---|
| 26 | EXTPACKS_ROOT_PATH="/Applications/VirtualBox.app/Contents/MacOS/ExtensionPacks"
|
---|
| 27 | if [ -d "${EXTPACKS_ROOT_PATH}" ]; then
|
---|
| 28 | cp -r "${EXTPACKS_ROOT_PATH}" "${INSTALLER_TEMP}"
|
---|
| 29 | fi
|
---|
| 30 |
|
---|
| 31 | exit 0;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.