diff options
author | Jacob Pipkin <d4wnr4z0r@yahoo.com> | 2012-05-09 12:27:51 -0500 |
---|---|---|
committer | Jacob Pipkin <d4wnr4z0r@yahoo.com> | 2012-05-09 12:27:51 -0500 |
commit | 373ec26a8141e284388d761b218e4b64f4ce1305 (patch) | |
tree | 35746516404e748b11b81f392a140beb1fe62d30 /SBO-Lib/lib | |
parent | cdef2b8e93dc5cb377e7585ec226361199bad014 (diff) | |
download | sbotools2-373ec26a8141e284388d761b218e4b64f4ce1305.tar.xz |
cleanups following previous changes
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 5656d37..31358f0 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -22,7 +22,6 @@ require Exporter; update_tree get_installed_sbos get_available_updates - check_sbo_name_validity do_slackbuild make_clean make_distclean @@ -184,12 +183,12 @@ sub clean_line { } sub get_available_updates { - check_slackbuilds_txt (); - my (@updates,$index); + my @updates; my @pkg_list = get_installed_sbos (); FIRST: for my $c (keys @pkg_list) { my $location = get_sbo_location ($pkg_list[$c]{name}); next FIRST unless defined $location; + my $regex = qr/^VERSION=/; open my $info,'<',"$location/$pkg_list[$c]{name}.info"; SECOND: while (my $line = <$info>) { |