fix(mac): run install before macos preference setup
Because the script is killed when the preferences are applied.
This commit is contained in:
parent
5ccb703ea4
commit
41bcfd066a
1 changed files with 6 additions and 3 deletions
|
@ -56,8 +56,11 @@ sudo scutil --set HostName "$computername"
|
||||||
sudo scutil --set LocalHostName "$computername"
|
sudo scutil --set LocalHostName "$computername"
|
||||||
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "$computername"
|
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "$computername"
|
||||||
|
|
||||||
# Set macOS preferences - we will run this last because this will reload the shell
|
|
||||||
source ${DOTFILES}/macos/.macos
|
|
||||||
|
|
||||||
# Call the general install script to setup zsh etc.
|
# Call the general install script to setup zsh etc.
|
||||||
source install.sh
|
source install.sh
|
||||||
|
|
||||||
|
echo "> FINISHED 🏁 The setup will now set some macOS preferences and exit afterwards."
|
||||||
|
read -p "Press enter to continue"
|
||||||
|
|
||||||
|
# Set macOS preferences - we will run this last because this will reload the shell
|
||||||
|
source ${DOTFILES}/macos/.macos
|
||||||
|
|
Loading…
Add table
Reference in a new issue