OSX Beta Channel Switcher

From NAT, 6 Years ago, written in Bash, viewed 577 times.
URL https://code.nat.moe/view/51d4ac22 Embed
Download Paste or View Raw
  1. #!/bin/bash
  2. dev='https://swscan.apple.com/content/catalogs/others/index-10.11seed-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz'
  3. beta='https://swscan.apple.com/content/catalogs/others/index-10.11beta-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz'
  4.  
  5. case $1 in
  6.         public|beta|b) sudo softwareupdate --set-catalog $beta;;
  7.         developer|develop|dev|d) sudo softwareupdate --set-catalog $dev;;
  8.         *) echo 'Unknow channel "$1"';;
  9. esac

Reply to "OSX Beta Channel Switcher"

Here you can reply to the paste above

captcha