diff options
Diffstat (limited to 'SBO-Lib/lib/SBO/Lib.pm')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 3 |
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; |