VirtualBox

Changeset 8320 in vbox for trunk/src/VBox/Installer/solaris


Ignore:
Timestamp:
Apr 23, 2008 9:51:38 AM (17 years ago)
Author:
vboxsync
Message:

Solaris host,guest installer: Removed some unnecessary checks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/makepackage.sh

    r8205 r8320  
    11#!/bin/sh
    2 set -e
    32# Sun xVM VirtualBox
    43# VirtualBox Solaris package creation script.
     
    4948fi
    5049
     50# bail out on non-zero exit status
     51set -e
    5152
    5253# prepare file list
     
    7980# create the package instance
    8081pkgmk -p $VBOXPKG_TIMESTAMP -o -r .
    81 if test $? -ne 0; then
    82     exit 1
    83 fi
    8482
    8583# translate into package datastream
    8684pkgtrans -s -o /var/spool/pkg "`pwd`/$VBOX_PKGFILE" "$VBOX_PKGNAME"
    87 if test $? -ne 0; then
    88     exit 1
    89 fi
    9085
    9186$VBOX_GTAR zcvf "$VBOX_ARCHIVE" "$VBOX_PKGFILE" autoresponse ReadMe.txt
    9287
    93 if test  $? -eq 0; then
    94     echo "## Packaging and transfer completed successfully!"
    95 fi
     88echo "## Packaging and transfer completed successfully!"
    9689rm -rf "/var/spool/pkg/$VBOX_PKGNAME"
     90
    9791exit $?
    9892
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette