mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-03 22:04:30 +01:00
@@ -228,8 +228,12 @@ getAppVersion() {
|
||||
else
|
||||
applist=$(mdfind "kind:application $appName" -0 )
|
||||
fi
|
||||
if [[ -z applist ]]; then
|
||||
if [[ -z $applist ]]; then
|
||||
if [[ $SKIP_UNINSTALLED -eq 1 ]]; then
|
||||
cleanupAndExit 0 "No previous app found, and SKIP_UNINSTALLED=1." REQ
|
||||
else
|
||||
printlog "No previous app found" DEBUG
|
||||
fi
|
||||
else
|
||||
printlog "App(s) found: ${applist}" DEBUG
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user