debian: Use configured aptitude program instead of just "aptitude".
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 1 Sep 2011 09:24:21 +0000 (10:24 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 1 Sep 2011 09:36:47 +0000 (10:36 +0100)
febootstrap_debian.ml

index 06fcbc3..f26df4a 100644 (file)
@@ -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;