Commit d54a2790 authored by boklm's avatar boklm Committed by Georg Koppen
Browse files

Bug 22504: change the update responses path

Change update_2 to update_3, and use aus1.tpo instead of dist.tpo.
parent dd20750a
......@@ -166,9 +166,10 @@
chmod 664 htdocs/${TORBROWSER_UPDATE_CHANNEL}/*
chmod 664 htdocs/${TORBROWSER_UPDATE_CHANNEL}/.htaccess
chmod 775 htdocs/${TORBROWSER_UPDATE_CHANNEL}/
torsocks ssh staticiforme.torproject.org "rm -rf /srv/dist-master.torproject.org/htdocs/torbrowser/update_2/${TORBROWSER_UPDATE_CHANNEL}/*"
torsocks rsync -avP htdocs/$TORBROWSER_UPDATE_CHANNEL staticiforme.torproject.org:/srv/dist-master.torproject.org/htdocs/torbrowser/update_2/
torsocks ssh staticiforme.torproject.org "chown -R :torwww /srv/dist-master.torproject.org/htdocs/torbrowser/update_2/${TORBROWSER_UPDATE_CHANNEL}/*"
torsocks ssh staticiforme.torproject.org "rm -rf /srv/aus1-master.torproject.org/htdocs/torbrowser/update_3/${TORBROWSER_UPDATE_CHANNEL}/*"
torsocks rsync -avP htdocs/$TORBROWSER_UPDATE_CHANNEL staticiforme.torproject.org:/srv/aus1-master.torproject.org/htdocs/torbrowser/update_3/
torsocks ssh staticiforme.torproject.org "chown -R :torwww /srv/aus1-master.torproject.org/htdocs/torbrowser/update_3/${TORBROWSER_UPDATE_CHANNEL}/*"
torsocks ssh staticiforme.torproject.org "static-update-component aus1.torproject.org"
# Finally, remove old version as we point the update channel at the new version.
# XXX: CAREFUL! $OLD_TOR_BROWSER_VERSION must be set!
torsocks ssh staticiforme.torproject.org "rm -rf /srv/dist-master.torproject.org/htdocs/torbrowser/$OLD_TORBROWSER_VERSION"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment