Changeset 2136 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Distribution.pm
- Timestamp:
- Aug 28, 2016, 8:03:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r2063 r2136 33 33 34 34 our @ISA = qw(Exporter); 35 our @EXPORT = qw(pb_distro_init pb_distro_conffile 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_get_param pb_distro_get_context pb_distro_to_keylist pb_distro_conf_print pb_apply_conf_proxy);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_get_param pb_distro_get_context pb_distro_to_keylist pb_distro_conf_print pb_apply_conf_proxy); 36 36 ($VERSION,$REVISION) = pb_version_init(); 37 37 … … 78 78 79 79 return("CCCC/pb.conf"); 80 } 81 82 =item B<pb_distro_sysconffile> 83 84 This function returns the optional configuration file used for local customization 85 86 =cut 87 88 sub pb_distro_sysconffile { 89 90 return("SSSS/pb.conf"); 80 91 } 81 92 … … 122 133 # depending whether we deal with package install or tar file install 123 134 pb_conf_add(pb_distro_conffile()); 135 136 # Similarly for the local file available for sysadmin. After the previous one to allow overwrite to work 137 pb_conf_add(pb_distro_sysconffile()); 124 138 125 139 # If we don't know which distribution we're on, then guess it
Note:
See TracChangeset
for help on using the changeset viewer.