summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-09-01 10:24:21 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-09-01 10:36:47 +0100
commit72101b100aa33b0b9879f9b18edfdd88c1aa2755 (patch)
treef5065983526b37578026f39a4debdd63e6e7b28b
parente4c7daf8bcdcf094719b3169ed79aece64a933bd (diff)
downloadfebootstrap-72101b100aa33b0b9879f9b18edfdd88c1aa2755.tar.gz
febootstrap-72101b100aa33b0b9879f9b18edfdd88c1aa2755.tar.xz
febootstrap-72101b100aa33b0b9879f9b18edfdd88c1aa2755.zip
debian: Use configured aptitude program instead of just "aptitude".
-rw-r--r--febootstrap_debian.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/febootstrap_debian.ml b/febootstrap_debian.ml
index 06fcbc3..f26df4a 100644
--- a/febootstrap_debian.ml
+++ b/febootstrap_debian.ml
@@ -48,8 +48,9 @@ let debian_resolve_dependencies_and_download names =
(* Download the packages. *)
let cmd =
- sprintf "umask 0000; cd %s && aptitude download %s"
+ sprintf "umask 0000; cd %s && %s download %s"
(Filename.quote tmpdir)
+ Config.aptitude
(String.concat " " (List.map Filename.quote pkgs)) in
run_command cmd;