summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHilko Bengen <bengen@hilluzination.de>2011-10-21 16:35:58 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-21 16:35:58 +0100
commitdaa0a6218be2cee5284d6961fc05b7e53d368abd (patch)
tree800e381801d13cc87f09db51d8cfa6a02d3d2338
parent5559d7620baf29c9a33f4ac9f608d76d495762c8 (diff)
downloadfebootstrap-daa0a6218be2cee5284d6961fc05b7e53d368abd.tar.gz
febootstrap-daa0a6218be2cee5284d6961fc05b7e53d368abd.tar.xz
febootstrap-daa0a6218be2cee5284d6961fc05b7e53d368abd.zip
debian: Ignore other secondary architectures, not just :i386.
-rw-r--r--src/febootstrap_debian.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/febootstrap_debian.ml b/src/febootstrap_debian.ml
index 58e1b15..6c74668 100644
--- a/src/febootstrap_debian.ml
+++ b/src/febootstrap_debian.ml
@@ -45,7 +45,7 @@ let get_installed_pkgs () =
let rec debian_resolve_dependencies_and_download names =
let cmd =
- sprintf "%s depends --recurse -i %s | grep -v '^[<[:space:]]' | grep -v :i386"
+ sprintf "%s depends --recurse -i %s | grep -v '^[<[:space:]]' | grep -Ev :\\w+\\b"
Config.apt_cache
(String.concat " " (List.map Filename.quote names)) in
let pkgs = run_command_get_lines cmd in