mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
fix quick flash for mac
This commit is contained in:
committed by
Aiden McClelland
parent
5e681aa3fb
commit
f0d2e77664
@@ -45,7 +45,7 @@ if ! which pv > /dev/null; then
|
||||
fi
|
||||
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
export TARGET_PARTITION="disk$(diskutil list | grep EMBASSY | head -1 | rev | cut -b 3)s3"
|
||||
export TARGET_PARTITION="/dev/disk$(diskutil list | grep EMBASSY | head -1 | rev | cut -b 3)s3"
|
||||
if ! test -e $TARGET_PARTITION; then
|
||||
>&2 echo '`green` partition not found'
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user