mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-29 22:04:09 +01:00
added more checking for disk mounting
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
# inspired by the download scripts from William Smith and Sander Schram
|
# inspired by the download scripts from William Smith and Sander Schram
|
||||||
|
|
||||||
VERSION='20200318'
|
VERSION='20200325'
|
||||||
|
|
||||||
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
||||||
|
|
||||||
@@ -522,6 +522,12 @@ installFromDMG() {
|
|||||||
echo "Error mounting $tmpDir/$archiveName"
|
echo "Error mounting $tmpDir/$archiveName"
|
||||||
cleanupAndExit 3
|
cleanupAndExit 3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ ! -e $dmgmount ]]; then
|
||||||
|
echo "Error mounting $tmpDir/$archiveName"
|
||||||
|
cleanupAndExit 3
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Mounted: $dmgmount"
|
echo "Mounted: $dmgmount"
|
||||||
|
|
||||||
installAppWithPath "$dmgmount/$appName"
|
installAppWithPath "$dmgmount/$appName"
|
||||||
|
|||||||
Reference in New Issue
Block a user