/[fai]/trunk/bin/install_packages
ViewVC logotype

Diff of /trunk/bin/install_packages

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3120 by lange, Sat Nov 26 20:07:50 2005 UTC revision 3121 by lange, Tue Nov 29 21:19:37 2005 UTC
# Line 25  Line 25 
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
# Line 74  my $aptopt='-y -o Dpkg::Options::="--for Line 74  my $aptopt='-y -o Dpkg::Options::="--for
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",
# Line 401  $maxpl=9999; Line 401  $maxpl=9999;
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',

Legend:
Removed from v.3120  
changed lines
  Added in v.3121

  ViewVC Help
Powered by ViewVC 1.1.5