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]}"
|
archiveName="${filearray[1]}"
|
||||||
printlog "found pkg: $archiveName"
|
printlog "found pkg: $archiveName"
|
||||||
else
|
else
|
||||||
if ls "$tmpDir/$pkgName" ; then
|
if [[ -s "$tmpDir/$pkgName" ]] ; then
|
||||||
archiveName="$tmpDir/$pkgName"
|
archiveName="$tmpDir/$pkgName"
|
||||||
else
|
else
|
||||||
# try searching for pkg
|
# try searching for pkg
|
||||||
|
|||||||
Reference in New Issue
Block a user