Cleaned up Brewfile and fixed a bug in mac.sh

This commit is contained in:
Christian Baer 2020-09-27 08:26:23 +02:00
parent 980a0f5c77
commit 7e9e824def
2 changed files with 9 additions and 6 deletions

View File

@ -31,7 +31,7 @@ brew "gotop"
brew "htop" brew "htop"
brew "hugo" brew "hugo"
brew "iperf" brew "iperf"
brew "iperf3" #brew "iperf3"
brew "ipmitool" brew "ipmitool"
brew "jq" brew "jq"
brew "koekeishiya/formulae/skhd" brew "koekeishiya/formulae/skhd"
@ -73,7 +73,7 @@ cask "diskmaker-x"
cask "drawio" cask "drawio"
cask "evolv-escribe-suite" cask "evolv-escribe-suite"
cask "fantastical" cask "fantastical"
cask "filebot" #cask "filebot"
cask "firefox" cask "firefox"
cask "fluid" cask "fluid"
cask "fog" cask "fog"
@ -108,12 +108,12 @@ cask "shifty"
cask "sloth" cask "sloth"
cask "sonos" cask "sonos"
cask "spotify" cask "spotify"
cask "stats" #cask "stats"
cask "thunderbird" cask "thunderbird"
cask "transmission" cask "transmission"
cask "transmit" cask "transmit"
cask "tunnelblick" cask "tunnelblick"
cask "tuxera-ntfs" #cask "tuxera-ntfs"
cask "typora" cask "typora"
cask "virtualbox" cask "virtualbox"
cask "virtualbox-extension-pack" cask "virtualbox-extension-pack"
@ -148,6 +148,5 @@ mas "ShutterCount", id: 720123827
mas "The Unarchiver", id: 425424353 mas "The Unarchiver", id: 425424353
mas "Todoist", id: 585829637 mas "Todoist", id: 585829637
mas "Tweetbot", id: 557168941 mas "Tweetbot", id: 557168941
mas "VPN Monitor", id: 887410814
mas "WhatsApp", id: 1147396723 mas "WhatsApp", id: 1147396723
mas "Xcode", id: 497799835 #mas "Xcode", id: 497799835

View File

@ -219,6 +219,10 @@ done
find $MAC_DOWNLOAD -name "*.dmg" -print0 | while IFS= read -r -d '' f; do find $MAC_DOWNLOAD -name "*.dmg" -print0 | while IFS= read -r -d '' f; do
echo ">>> Processing ${f}" echo ">>> Processing ${f}"
hdiutil attach $f -quiet -mountpoint ${MAC_INSTALLMOUNT} hdiutil attach $f -quiet -mountpoint ${MAC_INSTALLMOUNT}
find ${MAC_INSTALLMOUNT} -name "*.pkg" -print0 | while IFS= read -r -d '' f; do
echo ">>> Processing ${f}"
sudo installer -pkg "$f" -target /
done
cp -rf ${MAC_INSTALLMOUNT}/*.app /Applications cp -rf ${MAC_INSTALLMOUNT}/*.app /Applications
hdiutil detach ${MAC_INSTALLMOUNT} -quiet hdiutil detach ${MAC_INSTALLMOUNT} -quiet
done done