"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/LSB.pm" between
Ocsinventory-Unix-Agent-2.8.0.tar.gz and Ocsinventory-Unix-Agent-2.8.1.tar.gz

About: Ocsinventory-Agent is a Linux agent for OCS Inventory NG.

LSB.pm  (Ocsinventory-Unix-Agent-2.8.0):LSB.pm  (Ocsinventory-Unix-Agent-2.8.1)
skipping to change at line 16 skipping to change at line 16
sub check { sub check {
my $params = shift; my $params = shift;
my $common = $params->{common}; my $common = $params->{common};
$common->can_run("lsb_release") $common->can_run("lsb_release")
} }
sub run { sub run {
my $params = shift; my $params = shift;
my $common = $params->{common}; my $common = $params->{common};
my $OSname; my $OSname;
chomp($OSname =`lsb_release -is`); chomp($OSname =`lsb_release -is`);
my $OSversion; my $OSversion;
chomp($OSversion =`lsb_release -rs`); chomp($OSversion =`lsb_release -rs`);
my $OSComment; my $OSComment;
chomp($OSComment =`uname -v`); chomp($OSComment =`uname -v`);
my $release = "$OSname $OSVersion"; my $release = "$OSname $OSVersion";
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)