[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-messenger-build/master] Use archive.ubuntu.com for utopic packages



commit 492c96382ae1afa28a536a222d27061edb18bad9
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
Date:   Sat Oct 10 10:32:28 2015 +0200

    Use archive.ubuntu.com for utopic packages
    
    Ubuntu Utopic has been removed from archive.ubuntu.com.
---
 projects/docker-image/config |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/projects/docker-image/config b/projects/docker-image/config
index af2bde6..d1fe261 100644
--- a/projects/docker-image/config
+++ b/projects/docker-image/config
@@ -25,6 +25,9 @@ pre: |
   #!/bin/sh
   # [% c('docker_image') %]
   set -e
+  [% IF c('lsb_release/codename') == 'utopic' -%]
+  sed -i 's/archive\.ubuntu\.com/old-releases.ubuntu.com/' /etc/apt/sources.list
+  [% END -%]
   [% IF pc(c('origin_project'), 'var/pre_pkginst') -%]
   [% pc(c('origin_project'), 'var/pre_pkginst') %]
   [% END -%]

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits