mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Fixed for install data
This commit is contained in:
parent
dfc460c06b
commit
282cfd6b7c
1 changed files with 3 additions and 1 deletions
|
@ -99,11 +99,13 @@ class CreateData(Configs):
|
||||||
|
|
||||||
if line.startswith(pkg_tag[1]):
|
if line.startswith(pkg_tag[1]):
|
||||||
package_mirror = line.replace(pkg_tag[1], '').strip()
|
package_mirror = line.replace(pkg_tag[1], '').strip()
|
||||||
|
if not package_mirror.endswith('/'):
|
||||||
|
package_mirror: str = f'{package_mirror}/'
|
||||||
cache.append(package_mirror)
|
cache.append(package_mirror)
|
||||||
|
|
||||||
if line.startswith(pkg_tag[2]):
|
if line.startswith(pkg_tag[2]):
|
||||||
package_location = line.replace(pkg_tag[2], '').strip()
|
package_location = line.replace(pkg_tag[2], '').strip()
|
||||||
cache.append(package_location)
|
cache.append(package_location[1:]) # Do not install (.) dot
|
||||||
|
|
||||||
if line.startswith(pkg_tag[3]):
|
if line.startswith(pkg_tag[3]):
|
||||||
package_size_comp = line.replace(pkg_tag[3], '').strip()
|
package_size_comp = line.replace(pkg_tag[3], '').strip()
|
||||||
|
|
Loading…
Reference in a new issue