mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
fix slack init mirrors
This commit is contained in:
parent
ff66e6037a
commit
eb78b20354
2 changed files with 10 additions and 11 deletions
|
@ -9,20 +9,20 @@ Version 2.1.4-dev
|
||||||
users. Thanks to 'Jack Kiersey' for reporting.
|
users. Thanks to 'Jack Kiersey' for reporting.
|
||||||
- Fix checksums after try to update slackware packages.
|
- Fix checksums after try to update slackware packages.
|
||||||
|
|
||||||
Version 2.1.3-dev
|
Version 2.1.3
|
||||||
06-12-2014
|
06-12-2014
|
||||||
|
|
||||||
[Updated] - Fix 'IndexError: tuple index out of range' when sbo upgrade.
|
[Updated] - Fix 'IndexError: tuple index out of range' when sbo upgrade.
|
||||||
|
|
||||||
|
|
||||||
Version 2.1.2-dev
|
Version 2.1.2
|
||||||
04-12-2014
|
04-12-2014
|
||||||
|
|
||||||
[Feature] - Added checksum all repositories.
|
[Feature] - Added checksum all repositories.
|
||||||
|
|
||||||
[Updated] - Fix downloads modules.
|
[Updated] - Fix downloads modules.
|
||||||
|
|
||||||
Version 2.1.1-dev
|
Version 2.1.1
|
||||||
01-12-2014
|
01-12-2014
|
||||||
|
|
||||||
[Feature] - Added options in /etc/slpkg/slpkg.conf file to select
|
[Feature] - Added options in /etc/slpkg/slpkg.conf file to select
|
||||||
|
|
|
@ -32,7 +32,6 @@ from __metadata__ import (
|
||||||
color,
|
color,
|
||||||
log_path,
|
log_path,
|
||||||
lib_path,
|
lib_path,
|
||||||
slack_rel,
|
|
||||||
build_path,
|
build_path,
|
||||||
repositories,
|
repositories,
|
||||||
slpkg_tmp_packages,
|
slpkg_tmp_packages,
|
||||||
|
@ -74,17 +73,17 @@ class Initialization(object):
|
||||||
os.mkdir(log)
|
os.mkdir(log)
|
||||||
if not os.path.exists(lib):
|
if not os.path.exists(lib):
|
||||||
os.mkdir(lib)
|
os.mkdir(lib)
|
||||||
packages = mirrors(lib_file, "", slack_rel)
|
packages = mirrors(lib_file, "")
|
||||||
pkg_checksums = mirrors(md5_file, "", slack_rel)
|
pkg_checksums = mirrors(md5_file, "")
|
||||||
extra = mirrors(lib_file, "extra/", slack_rel)
|
extra = mirrors(lib_file, "extra/")
|
||||||
ext_checksums = mirrors(md5_file, "extra/", slack_rel)
|
ext_checksums = mirrors(md5_file, "extra/")
|
||||||
pasture = mirrors(lib_file, "pasture/", slack_rel)
|
pasture = mirrors(lib_file, "pasture/")
|
||||||
pas_checksums = mirrors(md5_file, "pasture/", slack_rel)
|
pas_checksums = mirrors(md5_file, "pasture/")
|
||||||
packages_txt = ("{0} {1} {2}".format(packages, extra, pasture))
|
packages_txt = ("{0} {1} {2}".format(packages, extra, pasture))
|
||||||
|
|
||||||
checksums_md5 = ("{0} {1} {2}".format(pkg_checksums, ext_checksums,
|
checksums_md5 = ("{0} {1} {2}".format(pkg_checksums, ext_checksums,
|
||||||
pas_checksums))
|
pas_checksums))
|
||||||
changelog_txt = mirrors(log_file, "", slack_rel)
|
changelog_txt = mirrors(log_file, "")
|
||||||
self.write(lib, lib_file, packages_txt)
|
self.write(lib, lib_file, packages_txt)
|
||||||
self.write(lib, md5_file, checksums_md5)
|
self.write(lib, md5_file, checksums_md5)
|
||||||
self.write(log, log_file, changelog_txt)
|
self.write(log, log_file, changelog_txt)
|
||||||
|
|
Loading…
Reference in a new issue