mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-18 21:03:26 +00:00
fixed ditto command and BBEdit appName
This commit is contained in:
@@ -85,6 +85,7 @@ case $identifier in
|
|||||||
;;
|
;;
|
||||||
BBEdit)
|
BBEdit)
|
||||||
downloadURL=$(curl -s https://versioncheck.barebones.com/BBEdit.xml | grep dmg | sort | tail -n1 | cut -d">" -f2 | cut -d"<" -f1)
|
downloadURL=$(curl -s https://versioncheck.barebones.com/BBEdit.xml | grep dmg | sort | tail -n1 | cut -d">" -f2 | cut -d"<" -f1)
|
||||||
|
appName="BBEdit.app"
|
||||||
expectedTeamID="W52GZAXT98"
|
expectedTeamID="W52GZAXT98"
|
||||||
;;
|
;;
|
||||||
Firefox)
|
Firefox)
|
||||||
@@ -192,7 +193,7 @@ installFromDMG() {
|
|||||||
|
|
||||||
# copy app to /Applications
|
# copy app to /Applications
|
||||||
echo "Copy $dmgmount/$appName to $targetDir"
|
echo "Copy $dmgmount/$appName to $targetDir"
|
||||||
if ! ditto "$dmgmount/$appName" "$targetDir"; then
|
if ! ditto "$dmgmount/$appName" "$targetDir/$appName"; then
|
||||||
echo "Error while copying!"
|
echo "Error while copying!"
|
||||||
cleanupAndExit 7
|
cleanupAndExit 7
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user