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