Skip to content

Commit fc89de2

Browse files
authored
Merge pull request voxpupuli#514 from lordievader/fix_debian_version
Recognize Debian python package name, fixes: voxpupuli#506
2 parents 461a8fa + c881d2e commit fc89de2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
default => '',
6666
}
6767

68-
unless $version =~ Pattern[/\A(python)?[0-9](\.?[0-9])+/,
68+
unless $version =~ Pattern[/\A(python)?[0-9](\.?[0-9])*/,
6969
/\Apypy\Z/, /\Asystem\Z/, /\Arh-python[0-9]{2}(?:-python)?\Z/] {
7070
fail("version needs to be pypy, system or a version string like '36', '3.6' or 'python3.6' )")
7171
}

0 commit comments

Comments
 (0)