Changeset 750 in ProjectBuilder for devel


Ignore:
Timestamp:
Mar 30, 2009, 3:10:52 AM (15 years ago)
Author:
Bruno Cornec
Message:
  • pb_distro_init accepts now a third parameter (arch) in order to force the setup of the update command for VEs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r749 r750  
    7777my $dsuf = "unknown";
    7878my $dupd = "unknown";
     79my $arch = shift || undef;
    7980
    8081# If we don't know which distribution we're on, then guess it
     
    119120
    120121    # By defaut propose yum
    121     my $arch=pb_get_arch();
     122    my $arch=pb_get_arch() if (not defined $arch);
    122123    my $opt = "";
    123124    if ($arch eq "x86_64") {
Note: See TracChangeset for help on using the changeset viewer.