diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-06-09 18:58:34 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-06-09 19:06:12 +0200 |
commit | b2ea1a47531266377abe4f12c6f21417ea96eea0 (patch) | |
tree | 8aacdd7ad522b9126b24837fc4a2b43a3a90cc64 /test/integration/framework | |
parent | 2128d3fce44da34ecb1f0d784b703807f66b20f9 (diff) |
ensure state-dir exists before coyping cdrom files
We do the same in the acquire system which handles the 'normal'
downloads, so do it here as well even though its unlikely anyone
will ever notice (beside testcases of course …)
Diffstat (limited to 'test/integration/framework')
-rw-r--r-- | test/integration/framework | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/integration/framework b/test/integration/framework index 7c2aed592..5c50498a2 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -692,9 +692,11 @@ setupaptarchive() { setupflataptarchive fi signreleasefiles - msgninfo "\tSync APT's cache with the archive… " - aptget update -qq - msgdone "info" + if [ "$1" != '--no-update' ]; then + msgninfo "\tSync APT's cache with the archive… " + aptget update -qq + msgdone "info" + fi } signreleasefiles() { |