Changeset 2338 in ProjectBuilder


Ignore:
Timestamp:
Nov 27, 2017, 8:32:47 PM (6 years ago)
Author:
Bruno Cornec
Message:

the API conf file is now under etc and in pb-modules

Location:
devel/pb-modules
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/Makefile.PL

    r2289 r2338  
    7474    $text .= "\t".'chmod 755 $(DESTDIR)'."$sharedir\n";
    7575    $text .= "\t".'cp etc/pb.yml $(DESTDIR)'."$sharedir\n";
     76    $text .= "\t".'cp etc/api.yml $(DESTDIR)'."$sharedir\n";
    7677
    7778    # Also create a fake version in /etc/pb for sysadmin to modify
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r2337 r2338  
    3333 
    3434our @ISA = qw(Exporter);
    35 our @EXPORT = qw(pb_distro_init pb_distro_conffile pb_distro_sysconffile pb_distro_get pb_distro_getlsb pb_distro_installdeps pb_distro_getdeps pb_distro_only_deps_needed pb_distro_setuprepo pb_distro_setuposrepo pb_distro_setuprepo_gen pb_distro_get_param pb_distro_get_context pb_distro_to_keylist pb_distro_conf_print pb_apply_conf_proxy);
     35our @EXPORT = qw(pb_distro_init pb_distro_conffile pb_distro_sysconffile pb_distro_api pb_distro_get pb_distro_getlsb pb_distro_installdeps pb_distro_getdeps pb_distro_only_deps_needed pb_distro_setuprepo pb_distro_setuposrepo pb_distro_setuprepo_gen pb_distro_get_param pb_distro_get_context pb_distro_to_keylist pb_distro_conf_print pb_apply_conf_proxy);
    3636($VERSION,$REVISION,$PBCONFVER) = pb_version_init();
    3737
     
    6868
    6969=over 4
     70
     71=item B<pb_distro_conffile>
     72
     73This function returns the mandatory configuration file used for distribution/OS detection
     74
     75=cut
     76
     77sub pb_distro_api {
     78
     79return("CCCC/api.yml");
     80}
     81
    7082
    7183=item B<pb_distro_conffile>
Note: See TracChangeset for help on using the changeset viewer.