You've already forked Docker-OSX
mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-07-01 10:22:35 -05:00
Shift exits
This commit is contained in:
@ -195,11 +195,11 @@ generate_bootdisk () {
|
||||
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
||||
elif [[ "${MASTER_PLIST_URL}" ]]; then
|
||||
wget -O "${MASTER_PLIST:=./config-custom.plist}" "${MASTER_PLIST_URL}" \
|
||||
|| echo "Could not download ${MASTER_PLIST_URL}" && exit 1
|
||||
|| { echo "Could not download ${MASTER_PLIST_URL}" && exit 1 ; }
|
||||
else
|
||||
MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist'
|
||||
wget -O "${MASTER_PLIST:=./config-nopicker-custom.plist}" "${MASTER_PLIST_URL}" \
|
||||
|| echo "Could not download ${MASTER_PLIST_URL}" && exit 1
|
||||
|| { echo "Could not download ${MASTER_PLIST_URL}" && exit 1 ; }
|
||||
fi
|
||||
|
||||
|
||||
|
@ -251,11 +251,11 @@ generate_serial_sets () {
|
||||
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
||||
elif [[ "${MASTER_PLIST_URL}" ]]; then
|
||||
wget -O "${MASTER_PLIST:=./config-custom.plist}" "${MASTER_PLIST_URL}" \
|
||||
|| echo "Could not download ${MASTER_PLIST_URL}" && exit 1
|
||||
|| { echo "Could not download ${MASTER_PLIST_URL}" && exit 1 ; }
|
||||
else
|
||||
MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist'
|
||||
wget -O "${MASTER_PLIST:=./config-nopicker-custom.plist}" "${MASTER_PLIST_URL}" \
|
||||
|| echo "Could not download ${MASTER_PLIST_URL}" && exit 1
|
||||
|| { echo "Could not download ${MASTER_PLIST_URL}" && exit 1 ; }
|
||||
fi
|
||||
|
||||
[[ -e ./opencore-image-ng.sh ]] || wget https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/opencore-image-ng.sh && chmod +x opencore-image-ng.sh
|
||||
|
Reference in New Issue
Block a user