summaryrefslogtreecommitdiff
path: root/src/VBox/Installer/solaris/postinstall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Installer/solaris/postinstall.sh')
-rwxr-xr-xsrc/VBox/Installer/solaris/postinstall.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/VBox/Installer/solaris/postinstall.sh b/src/VBox/Installer/solaris/postinstall.sh
index 1dbfa2bd..6264ac61 100755
--- a/src/VBox/Installer/solaris/postinstall.sh
+++ b/src/VBox/Installer/solaris/postinstall.sh
@@ -1,11 +1,11 @@
#!/bin/sh
+# $Id: postinstall.sh $
## @file
-#
# VirtualBox postinstall script for Solaris.
#
#
-# Copyright (C) 2007-2010 Oracle Corporation
+# Copyright (C) 2007-2012 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
@@ -19,7 +19,8 @@
rc=0
currentzone=`zonename`
if test "$currentzone" = "global"; then
- ${PKG_INSTALL_ROOT:=/}/opt/VirtualBox/pkginstall.sh --srv4
+ DEBUGOPT=`set -o 2>/dev/null | sed -ne 's/^xtrace *on$/--sh-trace/p'` # propagate pkgadd -v
+ ${PKG_INSTALL_ROOT:=/}/opt/VirtualBox/pkginstall.sh --srv4 ${DEBUGOPT}
rc=$?
fi