Changeset 1156 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Distribution.pm
- Timestamp:
- Jan 13, 2011, 1:18:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r1148 r1156 19 19 # Inherit from the "Exporter" module which handles exporting functions. 20 20 21 use vars qw($VERSION @ISA @EXPORT);21 use vars qw($VERSION $REVISION @ISA @EXPORT); 22 22 use Exporter; 23 23 … … 27 27 our @ISA = qw(Exporter); 28 28 our @EXPORT = qw(pb_distro_conffile pb_distro_init 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); 29 $VERSION = "$ProjectBuilder::Version::VERSION";29 ($VERSION,$REVISION) = pb_version_init(); 30 30 31 31 =pod … … 156 156 This function returns a list of 2 parameters indicating the distribution name and version of the underlying Linux distribution. The value of those 2 fields may be "unknown" in case the function was unable to recognize on which distribution it is running. 157 157 158 On my home machine it would currently report ("mandriva","20 09.0").158 On my home machine it would currently report ("mandriva","2010.2"). 159 159 160 160 =cut
Note:
See TracChangeset
for help on using the changeset viewer.