Fix for case of missing zshrc
This commit is contained in:
parent
2b60755274
commit
4a6ec6c73b
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ fi
|
|||
|
||||
### System upgrade on macOS
|
||||
if [ -d /Applications ] && [ -d /Library ] && [ -z "$NO_RESTART" ]; then
|
||||
if ! cat "$HOME/.zshrc" | grep '# TEMPORARY FOR INSTALL DOCTOR MACOS' > /dev/null; then
|
||||
if [ ! -f "$HOME/.zshrc" ] || ! 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
|
||||
if command -v gtimeout > /dev/null; then
|
||||
|
|
Loading…
Reference in a new issue