From 37c65d13f845d2864f26984c4ed50f2d80e07033 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Tue, 8 Dec 2015 21:05:45 +0100 Subject: Update manpages and scripts for #6 --- SBO-Lib/lib/SBO/Lib.pm | 3 +++ 1 file changed, 3 insertions(+) (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 2b06d48..26f75ed 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -59,6 +59,8 @@ our @EXPORT_OK = qw( $conf_dir $conf_file %config + $slackbuilds_txt + $repo_path ); our %EXPORT_TAGS = ( @@ -321,6 +323,7 @@ sub generate_slackbuilds_txt { while (my $package = readdir($cat_dh)) { next if $package =~ /^\.\.?$/; next unless -f "$repo_path/$cat/$package/$package.info"; + print { $fh } "SLACKBUILD NAME: $package\n"; print { $fh } "SLACKBUILD LOCATION: ./$cat/$package\n"; } close $cat_dh; -- cgit v1.2.3