Ignore:
Timestamp:
Oct 28, 2009, 10:25:19 AM (14 years ago)
Author:
Bruno Cornec
Message:
  • setuptvm now uses as well the conf file
  • removal of hardcoded stuff in pb_install_deps
  • conf file updated with new contetn for setupvm
  • Variable for the home dir (not /home on Solaris)
File:
1 edited

Legend:

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

    r869 r891  
    2323 
    2424our @ISA = qw(Exporter);
    25 our @EXPORT = qw(pb_distro_init pb_distro_get pb_distro_installdeps pb_distro_getdeps pb_distro_only_deps_needed pb_distro_setuprepo pb_distro_get_param);
     25our @EXPORT = qw(pb_distro_conffile pb_distro_init pb_distro_get pb_distro_installdeps pb_distro_getdeps pb_distro_only_deps_needed pb_distro_setuprepo pb_distro_get_param);
    2626
    2727=pod
     
    6060=over 4
    6161
     62=item B<pb_distro_conffile>
     63
     64This function returns the mandatory configuration file used for distribution/OS detection
     65
     66=cut
     67
     68sub pb_distro_conffile {
     69
     70return("CCCC/pb.conf");
     71}
     72
     73
     74=over 4
     75
    6276=item B<pb_distro_init>
    6377
     
    92106# the location of the conf file is finalyzed at install time
    93107# depending whether we deal with package install or tar file install
    94 pb_conf_add("CCCC/pb.conf");
     108pb_conf_add(pb_distro_conffile());
    95109
    96110# If we don't know which distribution we're on, then guess it
Note: See TracChangeset for help on using the changeset viewer.