From 24de87489ef186aa73cf74a71fcfa04188368754 Mon Sep 17 00:00:00 2001 From: d4wnr4z0r Date: Wed, 27 Nov 2013 12:28:01 -0600 Subject: support 14.1, test version/multilib as appropriately for system --- SBO-Lib/lib/SBO/Lib.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'SBO-Lib/lib/SBO/Lib.pm') diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index ed5f74c..fb343ec 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -14,7 +14,7 @@ use strict; use warnings FATAL => 'all'; package SBO::Lib; -our $VERSION = '1.7'; +our $VERSION = '1.8'; require Exporter; our @ISA = qw(Exporter); @@ -181,7 +181,10 @@ sub show_version() { # which is now not needed since this version drops support < 14.0 # but it's already future-proofed, so leave it. sub get_slack_version() { - my %supported = ('14.0' => '14.0'); + my %supported = ( + '14.0' => '14.0', + '14.1' => '14.1', + ); my ($fh, $exit) = open_read '/etc/slackware-version'; if ($exit) { warn $fh; -- cgit v1.2.3