| 25 |
# MA 02111-1307, USA. |
# MA 02111-1307, USA. |
| 26 |
#********************************************************************* |
#********************************************************************* |
| 27 |
|
|
| 28 |
my $version = "Version 2.16, 26-nov-2005"; |
my $version = "Version 2.17, 29-nov-2005"; |
| 29 |
$0=~ s#.+/##; # remove path from program name |
$0=~ s#.+/##; # remove path from program name |
| 30 |
|
|
| 31 |
# import variables: $verbose, $MAXPACKAGES, $classes, $FAI, $FAI_ROOT |
# import variables: $verbose, $MAXPACKAGES, $classes, $FAI, $FAI_ROOT |
| 74 |
"taskrm" => "tasksel -n remove", |
"taskrm" => "tasksel -n remove", |
| 75 |
"hold" => "dpkg --set-selections", |
"hold" => "dpkg --set-selections", |
| 76 |
"clean" => "apt-get clean", |
"clean" => "apt-get clean", |
| 77 |
"aptitude" => "aptitude $aptopt install", |
"aptitude" => "aptitude -R $aptopt install", |
| 78 |
"aptitude-r" => "aptitude -r $aptopt install", |
"aptitude-r" => "aptitude -r $aptopt install", |
| 79 |
"pending" => "dpkg --configure --pending", |
"pending" => "dpkg --configure --pending", |
| 80 |
"dpkgc" => "dpkg -C", |
"dpkgc" => "dpkg -C", |
| 401 |
%command = ( |
%command = ( |
| 402 |
install => "apt-get $qopt -d $ENV{aptoptions} -y --force-yes --fix-missing install", |
install => "apt-get $qopt -d $ENV{aptoptions} -y --force-yes --fix-missing install", |
| 403 |
"taskinst" => "aptitude -d $ENV{aptoptions} -y install $devnull", |
"taskinst" => "aptitude -d $ENV{aptoptions} -y install $devnull", |
| 404 |
"aptitude" => "aptitude -d $ENV{aptoptions} -y install $devnull", |
"aptitude" => "aptitude -R -d $ENV{aptoptions} -y install $devnull", |
| 405 |
|
"aptitude-r" => "aptitude -r -d $ENV{aptoptions} -y install $devnull", |
| 406 |
"clean" => 'true', |
"clean" => 'true', |
| 407 |
"pending" => 'true', |
"pending" => 'true', |
| 408 |
"dpkgc" => 'true', |
"dpkgc" => 'true', |