aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib/SBO/Lib.pm
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-08 21:05:45 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-08 21:05:45 +0100
commit37c65d13f845d2864f26984c4ed50f2d80e07033 (patch)
treedd5217a323f13f57f74133dc41badcd74e752125 /SBO-Lib/lib/SBO/Lib.pm
parentff45c2217584f8e72d5ae41288bfbb5f563509a4 (diff)
downloadsbotools2-37c65d13f845d2864f26984c4ed50f2d80e07033.tar.xz
Update manpages and scripts for #6
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm3
1 files changed, 3 insertions, 0 deletions
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;