diff options
| author | Julian Andres Klode <jak@debian.org> | 2010-03-03 16:44:10 +0100 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2010-03-03 16:44:10 +0100 |
| commit | 1dcd5eb6190ed6a3552cb2d491bc0272f60e613a (patch) | |
| tree | e21fa68b89ff9ad28c222abf2edcbc346feccb56 /pre-build.sh | |
| parent | 8cb1f8fb9968d91f8f1bbece3f93aaeda36f0801 (diff) | |
| download | python-apt-1dcd5eb6190ed6a3552cb2d491bc0272f60e613a.tar.gz | |
* Merge with Ubuntu:
- util/get_ubuntu_mirrors_from_lp.py:
+ rewritten to use +archivemirrors-rss and feedburner
- pre-build.sh: update ubuntu mirrors on bzr-buildpackage (and also do this
for Debian mirrors)
- add break for packagekit-backend-apt (<= 0.4.8-0ubuntu4)
Diffstat (limited to 'pre-build.sh')
| -rwxr-xr-x | pre-build.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pre-build.sh b/pre-build.sh new file mode 100755 index 00000000..6d019603 --- /dev/null +++ b/pre-build.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +echo "updating Ubuntu mirror list from launchpad" +if [ -n "$https_proxy" ]; then + echo "disabling https_proxy as Python's urllib doesn't support it; see #94130" + unset https_proxy +fi +utils/get_ubuntu_mirrors_from_lp.py > data/templates/Ubuntu.mirrors + +echo "updating Debian mirror list" +( cd utils; ./get_debian_mirrors.py; ) |
