commit d7f4c572cc1f740be5d8be89fd72045d48028175 parent b129340fbc4bf777315b4e5c897f835e08d63c39 Author: Jacob Pipkin <d4wnr4z0r@yahoo.com> Date: Sun, 13 May 2012 19:20:28 -0500 misc cleanup Diffstat:
| M | SBO-Lib/lib/SBO/Lib.pm | | | 9 | ++++----- |
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm @@ -68,15 +68,14 @@ for my $key (keys %config) { undef $config{$key}; } } -for (@valid_conf_keys) { - unless ($_ eq 'SBO_HOME') { - $config{$_} = "FALSE" unless exists $config{$_}; +for my $key (@valid_conf_keys) { + unless ($key eq 'SBO_HOME') { + $config{$key} = "FALSE" unless exists $config{$key}; } else { - $config{$_} = '/usr/sbo' unless exists $config{$_}; + $config{$key} = '/usr/sbo' unless exists $config{$key}; } } - my $distfiles = "$config{SBO_HOME}/distfiles"; my $slackbuilds_txt = "$config{SBO_HOME}/SLACKBUILDS.TXT";