Advertisement
Guest User

OS X 10.8 and 10.9 SUS catalogs in Mac OS X 10.7 SUS

a guest
Jun 16th, 2013
1,134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. Enable OS X 10.8 and 10.9 Software Update Server catalogs in Mac OS X 10.7 Software Update Server
  2.  
  3.  
  4. $ diff /etc/swupd.conf~ /etc/swupd.conf
  5.  
  6. <IfModule mod_rewrite.c>
  7. RewriteEngine On
  8. RewriteCond %{HTTP_USER_AGENT} Darwin/9
  9. RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-leopard.merged-1.sucatalog
  10. RewriteCond %{HTTP_USER_AGENT} Darwin/10
  11. RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-leopard-snowleopard.merged-1.sucatalog
  12. RewriteCond %{HTTP_USER_AGENT} Darwin/11
  13. RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-lion-snowleopard-leopard.merged-1.sucatalog
  14. + RewriteCond %{HTTP_USER_AGENT} Darwin/12
  15. + RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
  16. + RewriteCond %{HTTP_USER_AGENT} Darwin/13
  17. + RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
  18. </IfModule>
  19.  
  20.  
  21. $ diff /etc/swupd.plist~ /etc/swupd.plist
  22.  
  23. <key>otherCatalogs</key>
  24. <array>
  25. <string>index-leopard.merged-1.sucatalog</string>
  26. <string>index-leopard-snowleopard.merged-1.sucatalog</string>
  27. <string>index-lion-snowleopard-leopard.merged-1.sucatalog</string>
  28. + <string>index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string>
  29. + <string>index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string>
  30. </array>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement