mirror of
https://github.com/xxh/xxh
synced 2025-02-17 04:48:26 +00:00
0.6.1
This commit is contained in:
parent
1e374a9a4a
commit
eba1589e6b
1 changed files with 1 additions and 1 deletions
2
xxhp
2
xxhp
|
@ -55,7 +55,7 @@ class XxhPackage(object):
|
|||
|
||||
for package in opt.packages:
|
||||
self.print(f'Install {package}')
|
||||
if not re.match('^[a-zA-Z-]+$', package):
|
||||
if not re.match('^[a-zA-Z0-9-_]+$', package):
|
||||
self.eeprint(f'Invalid package name: {package}')
|
||||
|
||||
subdir = self.package_subdir(package) or self.eeprint(f"Unknown package: {package}")
|
||||
|
|
Loading…
Add table
Reference in a new issue