diff options
author | Colin Watson <cjwatson@debian.org> | 2009-09-24 18:56:46 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-09-24 18:56:46 +0000 |
commit | b969c120d820f09155581a962fcf197d3adc59ba (patch) | |
tree | 3a1744879e99af8322366f32726e9efa45df848c /functions | |
parent | ac1e53ee8ab9680b64f05efb9a4eef81d9928d9e (diff) | |
download | debootstrap-b969c120d820f09155581a962fcf197d3adc59ba.tar.gz |
Ignore failures from dpkg --predep-package. It exits 1 if there are no
suitable packages available, which isn't an error for us, but in_target
complains anyway, so just use in_target_nofail; the termination
condition is handled immediately afterwards anyway.
r60843
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1067,7 +1067,7 @@ setup_available () { } get_next_predep () { - local stanza="$(in_target dpkg --predep-package)" || return 1 + local stanza="$(in_target_nofail dpkg --predep-package)" [ "$stanza" ] || return 1 echo "$stanza" | grep '^Package:' | sed 's/^Package://; s/^ *//' } |