Francesco Banconi has proposed merging
lp:~frankban/charms/oneiric/buildbot-master/apt-sources into
lp:~yellow/charms/oneiric/buildbot-master/trunk.
Requested reviews:
Launchpad Yellow Squad (yellow)
For more details, see:
https://code.launchpad.net/~frankban/charms/oneiric/buildbot-master/apt-sources/+merge/102075
== Changes ==
APT sources replacement is installed only if apt-get update return code is 100.
--
https://code.launchpad.net/~frankban/charms/oneiric/buildbot-master/apt-sources/+merge/102075
Your team Launchpad Yellow Squad is requested to review the proposed merge of
lp:~frankban/charms/oneiric/buildbot-master/apt-sources into
lp:~yellow/charms/oneiric/buildbot-master/trunk.
=== modified file 'hooks/install'
--- hooks/install 2012-04-05 15:25:12 +0000
+++ hooks/install 2012-04-16 09:28:26 +0000
@@ -107,6 +107,8 @@
except subprocess.CalledProcessError as e:
log("Error running 'apt-get update':")
log(str(e))
+ if e.returncode != 100:
+ raise
log("Proceeding with re-written /etc/apt/sources.list")
fix_apt_sources()
run('apt-get', 'update')
--
Mailing list: https://launchpad.net/~yellow
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yellow
More help : https://help.launchpad.net/ListHelp