mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Another ls that could return an error
This commit is contained in:
@@ -670,7 +670,7 @@ installPkgInDmg() {
|
||||
archiveName="${filearray[1]}"
|
||||
printlog "found pkg: $archiveName"
|
||||
else
|
||||
if ls "$tmpDir/$pkgName" ; then
|
||||
if [[ -s "$tmpDir/$pkgName" ]] ; then
|
||||
archiveName="$tmpDir/$pkgName"
|
||||
else
|
||||
# try searching for pkg
|
||||
|
||||
Reference in New Issue
Block a user