Changeset 891 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Distribution.pm
- Timestamp:
- Oct 28, 2009, 10:25:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r869 r891 23 23 24 24 our @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);25 our @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); 26 26 27 27 =pod … … 60 60 =over 4 61 61 62 =item B<pb_distro_conffile> 63 64 This function returns the mandatory configuration file used for distribution/OS detection 65 66 =cut 67 68 sub pb_distro_conffile { 69 70 return("CCCC/pb.conf"); 71 } 72 73 74 =over 4 75 62 76 =item B<pb_distro_init> 63 77 … … 92 106 # the location of the conf file is finalyzed at install time 93 107 # depending whether we deal with package install or tar file install 94 pb_conf_add( "CCCC/pb.conf");108 pb_conf_add(pb_distro_conffile()); 95 109 96 110 # If we don't know which distribution we're on, then guess it
Note:
See TracChangeset
for help on using the changeset viewer.