From: Hilko Bengen Date: Fri, 21 Oct 2011 15:35:58 +0000 (+0100) Subject: debian: Ignore other secondary architectures, not just :i386. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=daa0a6218be2cee5284d6961fc05b7e53d368abd;p=febootstrap.git debian: Ignore other secondary architectures, not just :i386. --- 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