summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pm/MGATools/rpmsrate.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pm/MGATools/rpmsrate.pm b/pm/MGATools/rpmsrate.pm
index 195122f..5effe94 100644
--- a/pm/MGATools/rpmsrate.pm
+++ b/pm/MGATools/rpmsrate.pm
@@ -94,7 +94,7 @@ sub check_if_expandable {
# some i18n packages does not require the same locale, e.g. kde-i18n-nb and nn requires locales-no
# if (grep { s/locales-// && $loc =~ /^$_(_|$)/ } @{$header{REQUIRENAME}}) {
- if (any { /^locales-[a-zA-Z_]*/ } $pkg->requires) {
+ if (any { /^locales-[a-zA-Z_]+/ } $pkg->requires) {
push @{$locale->{$pg}}, $loc;
$localized_pkg->{"$pg-$loc"} = 1;
}