Browse Source

only use debconf-apt-progress if it's available

tags/2.34
Joey Hess 15 years ago
parent
commit
30c5669448
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      tasksel.pl

+ 4
- 1
tasksel.pl View File

@@ -535,9 +535,12 @@ sub main {
unshift @aptitude_install, "--visual-preview";
$aptitude="aptitude";
}
else {
elsif (-x "/usr/bin/debconf-apt-progress") {
$aptitude="debconf-apt-progress -- aptitude";
}
else {
$aptitude="aptitude";
}
if ($options{test}) {
print "$aptitude --without-recommends -y install ".join(" ", @aptitude_install)."\n";


Loading…
Cancel
Save