mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Logging info and a fix
This commit is contained in:
@@ -609,7 +609,7 @@ installFromPKG() {
|
||||
installFromPKG
|
||||
fi
|
||||
|
||||
if [ $pkginstallstatus -ne 0 ] ; then
|
||||
if [[ $pkginstallstatus -ne 0 ]] ; then
|
||||
#if ! installer -pkg "$archiveName" -tgt "$targetDir" ; then
|
||||
cleanupAndExit 9 "Error installing $archiveName error:\n$logoutput" ERROR
|
||||
fi
|
||||
|
||||
@@ -65,6 +65,8 @@ if [[ ! -a "${LOGO}" ]]; then
|
||||
fi
|
||||
printlog "LOGO=${LOGO}"
|
||||
|
||||
printlog "Label type: $type"
|
||||
|
||||
# MARK: extract info from data
|
||||
if [ -z "$archiveName" ]; then
|
||||
case $type in
|
||||
@@ -85,6 +87,7 @@ if [ -z "$archiveName" ]; then
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
printlog "archiveName: $archiveName" DEBUG
|
||||
|
||||
if [ -z "$appName" ]; then
|
||||
# when not given derive from name
|
||||
|
||||
Reference in New Issue
Block a user