Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Enable OS X 10.8 and 10.9 Software Update Server catalogs in Mac OS X 10.7 Software Update Server
- $ diff /etc/swupd.conf~ /etc/swupd.conf
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteCond %{HTTP_USER_AGENT} Darwin/9
- RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-leopard.merged-1.sucatalog
- RewriteCond %{HTTP_USER_AGENT} Darwin/10
- RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-leopard-snowleopard.merged-1.sucatalog
- RewriteCond %{HTTP_USER_AGENT} Darwin/11
- RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-lion-snowleopard-leopard.merged-1.sucatalog
- + RewriteCond %{HTTP_USER_AGENT} Darwin/12
- + RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
- + RewriteCond %{HTTP_USER_AGENT} Darwin/13
- + RewriteRule ^/index\.sucatalog$ http://%{HTTP_HOST}/cgi-bin/SoftwareUpdateServerGetCatalog?/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
- </IfModule>
- $ diff /etc/swupd.plist~ /etc/swupd.plist
- <key>otherCatalogs</key>
- <array>
- <string>index-leopard.merged-1.sucatalog</string>
- <string>index-leopard-snowleopard.merged-1.sucatalog</string>
- <string>index-lion-snowleopard-leopard.merged-1.sucatalog</string>
- + <string>index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string>
- + <string>index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog</string>
- </array>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement