mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated for var
This commit is contained in:
parent
ec1ca770f3
commit
34bcc5b966
1 changed files with 6 additions and 6 deletions
|
@ -692,31 +692,31 @@ class UpdateRepository(Configs):
|
|||
files: str = ' '.join([file.name for file in list(sbo_path.iterdir())])
|
||||
|
||||
version: str = (
|
||||
' '.join([d.strip() for d in self.read_info_file(
|
||||
' '.join([var.strip() for var in self.read_info_file(
|
||||
p, info_var[2], info_var[3])])[len(info_var[2]):].replace('"', '')
|
||||
)
|
||||
|
||||
download: str = (
|
||||
' '.join([d.replace('\\', '').strip() for d in self.read_info_file(
|
||||
' '.join([var.replace('\\', '').strip() for var in self.read_info_file(
|
||||
p, info_var[4], info_var[5])])[len(info_var[4]):].replace('"', '')
|
||||
)
|
||||
|
||||
download_x86_64: str = (
|
||||
' '.join([d.replace('\\', '').strip() for d in self.read_info_file(
|
||||
' '.join([var.replace('\\', '').strip() for var in self.read_info_file(
|
||||
p, info_var[6], info_var[7])])[len(info_var[6]):].replace('"', '')
|
||||
)
|
||||
|
||||
md5sum: str = (
|
||||
' '.join([d.replace('\\', '').strip() for d in self.read_info_file(
|
||||
' '.join([var.replace('\\', '').strip() for var in self.read_info_file(
|
||||
p, info_var[5], info_var[6])])[len(info_var[5]):].replace('"', '')
|
||||
)
|
||||
|
||||
md5sum_x86_64: str = (
|
||||
' '.join([d.replace('\\', '').strip() for d in self.read_info_file(
|
||||
' '.join([var.replace('\\', '').strip() for var in self.read_info_file(
|
||||
p, info_var[7], info_var[8])])[len(info_var[7]):].replace('"', '')
|
||||
)
|
||||
|
||||
requires: str = (' '.join([d for d in self.read_info_file(
|
||||
requires: str = (' '.join([var for var in self.read_info_file(
|
||||
p, info_var[8], info_var[9])])[len(info_var[8]):].replace('"', '')
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue