Changeset 56564 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Jun 19, 2015 3:17:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/checkinstall.sh
r56314 r56564 51 51 { 52 52 if test -z "$1"; then 53 errorprint "Missing argument to checkdep_ svr4"53 errorprint "Missing argument to checkdep_ips" 54 54 return 1 55 55 fi … … 61 61 PKG_MISSING_IPS="$PKG_MISSING_IPS $1" 62 62 return 1 63 63 } 64 65 checkdep_ips_either() 66 { 67 if test -z "$1" || test -z "$2"; then 68 errorprint "Missing argument to checkdep_ips_either" 69 return 1 70 fi 71 # using "list" without "-a" only lists installed pkgs which is what we need 72 $BIN_PKG $BASEDIR_OPT list "$1" >/dev/null 2>&1 73 if test $? -eq 0; then 74 return 0 75 fi 76 $BIN_PKG $BASEDIR_OPT list "$2" >/dev/null 2>&1 77 if test $? -eq 0; then 78 return 0 79 fi 80 PKG_MISSING_IPS="$PKG_MISSING_IPS $1 or $2" 81 return 1 64 82 } 65 83 … … 117 135 if test -x "$BIN_PKG"; then 118 136 checkdep_ips "runtime/python-26" 119 checkdep_ips "system/library/iconv/utf-8"137 checkdep_ips_either "system/library/iconv/utf-8" "system/library/iconv/iconv-core" 120 138 else 121 139 PKG_MISSING_IPS="runtime/python-26 system/library/iconv/utf-8"
Note:
See TracChangeset
for help on using the changeset viewer.