strip /downloads from url
This commit is contained in:
parent
d0f53128cc
commit
0fef317722
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
Thumbs.db
|
||||
vendor/
|
||||
TestController.php
|
||||
/import-mtpm.txt
|
||||
|
@ -64,6 +64,7 @@ class PackageController extends Controller
|
||||
'/zipball/master.git' => '.git',
|
||||
'/archive-tarball/master.git' => '.git',
|
||||
'https://repo.or.cz/' => 'http://repo.or.cz/',
|
||||
'/downloads' => '',
|
||||
'.zip' => '',
|
||||
];
|
||||
$csv = array_map('str_getcsv', explode("\n", trim(file_get_contents($file))));
|
||||
|
Loading…
x
Reference in New Issue
Block a user