mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-05 02:19:31 +00:00
Meta.pm: avoid duplicate prefix
git-svn-id: https://svn.fhem.de/fhem/trunk@18947 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fea1d4e624
commit
c839bff8c4
@ -1796,7 +1796,7 @@ sub __GenerateKeywordsFromSupportCommunity {
|
||||
$tag =~ s/ +/-/g;
|
||||
|
||||
foreach ( split '/', $tag ) {
|
||||
push @keywords, $prefix . $_;
|
||||
push @keywords, ( $_ =~ /^$prefix/ ? '' : $prefix ) . $_;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1805,7 +1805,7 @@ sub __GenerateKeywordsFromSupportCommunity {
|
||||
$tag =~ s/ +/-/g;
|
||||
|
||||
foreach ( split '/', $tag ) {
|
||||
push @keywords, $prefix . $_;
|
||||
push @keywords, ( $_ =~ /^$prefix/ ? '' : $prefix ) . $_;
|
||||
}
|
||||
}
|
||||
|
||||
@ -2453,7 +2453,7 @@ sub __SetXVersion {
|
||||
$modMeta->{x_version} =
|
||||
$modMeta->{x_file}[2] . ':'
|
||||
. (
|
||||
$modMeta->{version} eq '0.000000001' ? '?'
|
||||
$modMeta->{version} <= 0.000000001 ? '?'
|
||||
: (
|
||||
$modMeta->{x_file}[7] ne 'generated/vcs'
|
||||
? version->parse( $modMeta->{version} )->normal
|
||||
|
Loading…
x
Reference in New Issue
Block a user