mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-26 20:17:01 +08:00
Fix .//config-custom.plist
This commit is contained in:
parent
45a5f2c074
commit
e03f0737c3
@ -194,11 +194,11 @@ generate_bootdisk () {
|
|||||||
elif [[ "${MASTER_PLIST}" ]] && [[ "${MASTER_PLIST_URL}" ]]; then
|
elif [[ "${MASTER_PLIST}" ]] && [[ "${MASTER_PLIST_URL}" ]]; then
|
||||||
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
||||||
elif [[ "${MASTER_PLIST_URL}" ]]; then
|
elif [[ "${MASTER_PLIST_URL}" ]]; then
|
||||||
wget -O "./${MASTER_PLIST:=/config-custom.plist}" "${MASTER_PLIST_URL}" \
|
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
|
else
|
||||||
MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist'
|
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}" \
|
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
|
fi
|
||||||
|
|
||||||
|
@ -250,11 +250,11 @@ generate_serial_sets () {
|
|||||||
elif [[ "${MASTER_PLIST}" ]] && [[ "${MASTER_PLIST_URL}" ]]; then
|
elif [[ "${MASTER_PLIST}" ]] && [[ "${MASTER_PLIST_URL}" ]]; then
|
||||||
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
echo 'You specified both a custom plist file AND a custom plist url. Use one or the other.'
|
||||||
elif [[ "${MASTER_PLIST_URL}" ]]; then
|
elif [[ "${MASTER_PLIST_URL}" ]]; then
|
||||||
wget -O "./${MASTER_PLIST:=/config-custom.plist}" "${MASTER_PLIST_URL}" \
|
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
|
else
|
||||||
MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist'
|
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}" \
|
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
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user