Latest
This commit is contained in:
parent
c4722328f1
commit
bbcce1430a
2 changed files with 6 additions and 2 deletions
|
@ -53,7 +53,9 @@ fi
|
|||
|
||||
### System upgrade on macOS
|
||||
if [ -d /Applications ] && [ -d /Library ] && [ -z "$NO_RESTART" ]; then
|
||||
echo 'bash <(curl -sSL https://install.doctor/start) # TEMPORARY FOR INSTALL DOCTOR MACOS' >> "$HOME/.zshrc"
|
||||
if ! cat "$HOME/.zshrc" | grep '# TEMPORARY FOR INSTALL DOCTOR MACOS' > /dev/null; then
|
||||
echo 'bash <(curl -sSL https://install.doctor/start) # TEMPORARY FOR INSTALL DOCTOR MACOS' >> "$HOME/.zshrc"
|
||||
fi
|
||||
# TODO - Section below attempts to add timeout to macOS softwareupdate command but is failing to prompt for password (which is required even with /etc/sudoers set up
|
||||
# if command -v gtimeout > /dev/null; then
|
||||
# logg info 'Ensuring system software is upgraded (timing out after 50 minutes if system upgrade fails)'
|
||||
|
|
|
@ -27,7 +27,9 @@ if [ -d /Applications ] && [ -d /System ]; then
|
|||
logg info 'Docker appears to be installed already'
|
||||
fi
|
||||
logg info 'Opening the Docker for Desktop app so that the Docker engine starts running'
|
||||
open --background -a Docker --args --accept-license --unattended --install-privileged-components
|
||||
# TODO - --install-privileged-components may be necessary for `docker extension` command but it causes the command to no longer work
|
||||
# open --background -a Docker --args --accept-license --unattended --install-privileged-components
|
||||
open --background -a Docker --args --accept-license --unattended
|
||||
elif command -v apt-get > /dev/null; then
|
||||
. /etc/os-release
|
||||
if [ "$ID" == 'ubuntu' ]; then
|
||||
|
|
Loading…
Reference in a new issue