diff --git a/configs/repositories.toml b/configs/repositories.toml index 81f47fb7..344865e6 100644 --- a/configs/repositories.toml +++ b/configs/repositories.toml @@ -42,6 +42,7 @@ SLACK_REPO_PACKAGES = "PACKAGES.TXT" SLACK_REPO_CHECKSUMS = "CHECKSUMS.md5" SLACK_REPO_CHANGELOG = "ChangeLog.txt" + SLACK_REPO_TAG = "" # Official repository for Slackware patches x86_64 15.0 stable. # For Slackware patches x86_64 -current: @@ -53,6 +54,7 @@ SLACK_EXTRA_REPO_PACKAGES = "PACKAGES.TXT" SLACK_EXTRA_REPO_CHECKSUMS = "CHECKSUMS.md5" SLACK_EXTRA_REPO_CHANGELOG = "ChangeLog.txt" + SLACK_EXTRA_REPO_TAG = "" # Official repository for Slackware patches x86_64 15.0 stable. # For Slackware patches x86_64 -current: @@ -64,6 +66,7 @@ SLACK_PATCHES_REPO_PACKAGES = "PACKAGES.TXT" SLACK_PATCHES_REPO_CHECKSUMS = "CHECKSUMS.md5" SLACK_PATCHES_REPO_CHANGELOG = "ChangeLog.txt" + SLACK_PATCHES_REPO_TAG = "" # AlienBob Repository for Slackware x86_64 15.0 stable. # For Slackware x86_64 -current: @@ -75,6 +78,7 @@ ALIEN_REPO_PACKAGES = "PACKAGES.TXT" ALIEN_REPO_CHECKSUMS = "CHECKSUMS.md5" ALIEN_REPO_CHANGELOG = "ChangeLog.txt" + ALIEN_REPO_TAG = "alien" # Multilib Repository for Slackware x86_64 15.0 stable. # For Slackware x86_64 -current: @@ -86,6 +90,7 @@ MULTILIB_REPO_PACKAGES = "PACKAGES.TXT" MULTILIB_REPO_CHECKSUMS = "CHECKSUMS.md5" MULTILIB_REPO_CHANGELOG = "ChangeLog.txt" + MULTILIB_REPO_TAG = "alien" # Restricted Repository for Slackware x86_64 15.0 stable. # For Slackware x86_64 -current: @@ -97,6 +102,7 @@ RESTRICTED_REPO_PACKAGES = "PACKAGES.TXT" RESTRICTED_REPO_CHECKSUMS = "CHECKSUMS.md5" RESTRICTED_REPO_CHANGELOG = "ChangeLog.txt" + RESTRICTED_REPO_TAG = "alien" # Gnome Repository for Slackware x86_64 15.0 stable. # For Slackware x86_64 -current: @@ -107,6 +113,7 @@ GNOME_REPO_PACKAGES = "PACKAGES.TXT" GNOME_REPO_CHECKSUMS = "CHECKSUMS.md5" GNOME_REPO_CHANGELOG = "ChangeLog.txt" + GNOME_REPO_TAG = "gfs" # MATE Repository for Slackware x86_64 15.0 stable. # For Slackware x86_64 -current: @@ -118,6 +125,7 @@ MSB_REPO_PACKAGES = "PACKAGES.TXT" MSB_REPO_CHECKSUMS = "CHECKSUMS.md5" MSB_REPO_CHANGELOG = "ChangeLog.txt" + MSB_REPO_ATG = "msb" # Cinnamon Repository for Slackware x86_64 15.0 stable. # For Slackware x86_64 -current: @@ -129,6 +137,7 @@ CSB_REPO_PACKAGES = "PACKAGES.TXT" CSB_REPO_CHECKSUMS = "CHECKSUMS.md5" CSB_REPO_CHANGELOG = "ChangeLog.txt" + CSB_REPO_TAG = "csb" # Conraid Repository for Slackware x86_64 -current. CONRAID_REPO = false @@ -137,6 +146,7 @@ CONRAID_REPO_PACKAGES = "PACKAGES.TXT" CONRAID_REPO_CHECKSUMS = "CHECKSUMS.md5" CONRAID_REPO_CHANGELOG = "ChangeLog.txt" + CONRAID_REPO_TAG = "cf" # Slackonly Repository for Slackware x86_64 15.0 stable. # For Slackware x86_64 -current: @@ -147,6 +157,7 @@ SLACKONLY_REPO_PACKAGES = "PACKAGES.TXT" SLACKONLY_REPO_CHECKSUMS = "CHECKSUMS.md5" SLACKONLY_REPO_CHANGELOG = "ChangeLog.txt" + SLACKONLY_REPO_TAG = "slonly" # Repository for Salix OS x86_64 15.0 stable. SALIXOS_REPO = false @@ -155,6 +166,7 @@ SALIXOS_REPO_PACKAGES = "PACKAGES.TXT" SALIXOS_REPO_CHECKSUMS = "CHECKSUMS.md5" SALIXOS_REPO_CHANGELOG = "ChangeLog.txt" + SALIXOS_REPO_TAG = "" # Repository for Salix OS x86_64 15.0 stable. SALIXOS_EXTRA_REPO = false @@ -164,6 +176,7 @@ SALIXOS_EXTRA_REPO_PACKAGES = "PACKAGES.TXT" SALIXOS_EXTRA_REPO_CHECKSUMS = "CHECKSUMS.md5" SALIXOS_EXTRA_REPO_CHANGELOG = "ChangeLog.txt" + SALIXOS_EXTRA_REPO_TAG = "" # Repository for Salix OS x86_64 15.0 stable. SALIXOS_PATCHES_REPO = false @@ -173,6 +186,7 @@ SALIXOS_PATCHES_REPO_PACKAGES = "PACKAGES.TXT" SALIXOS_PATCHES_REPO_CHECKSUMS = "CHECKSUMS.md5" SALIXOS_PATCHES_REPO_CHANGELOG = "ChangeLog.txt" + SALIXOS_PATCHES_REPO_TAG = "_slack15.0" # Repository for Slackel OS x86_64 -current. SLACKEL_REPO = false @@ -181,6 +195,7 @@ SLACKEL_REPO_PACKAGES = "PACKAGES.TXT" SLACKEL_REPO_CHECKSUMS = "CHECKSUMS.md5" SLACKEL_REPO_CHANGELOG = "ChangeLog.txt" + SLACKEL_REPO_TAG = "dj" # Slint Repository for Slackware x86_64 15.0 stable. SLINT_REPO = false @@ -189,3 +204,4 @@ SLINT_REPO_PACKAGES = "PACKAGES.TXT" SLINT_REPO_CHECKSUMS = "CHECKSUMS.md5" SLINT_REPO_CHANGELOG = "ChangeLog.txt" + SLINT_REPO_TAG = "slint" diff --git a/slpkg/repositories.py b/slpkg/repositories.py index fc697cc0..75d54df1 100644 --- a/slpkg/repositories.py +++ b/slpkg/repositories.py @@ -52,6 +52,7 @@ class Repositories: slack_repo_packages: str = 'PACKAGES.TXT' slack_repo_checksums: str = 'CHECKSUMS.md5' slack_repo_changelog: str = 'ChangeLog.txt' + slack_repo_tag: str = '' slack_extra_repo: bool = False slack_extra_repo_name: str = 'slack_extra' @@ -61,6 +62,7 @@ class Repositories: slack_extra_repo_packages: str = 'PACKAGES.TXT' slack_extra_repo_checksums: str = 'CHECKSUMS.md5' slack_extra_repo_changelog: str = 'ChangeLog.txt' + slack_extra_repo_tag: str = '' slack_patches_repo: bool = False slack_patches_repo_name: str = 'slack_patches' @@ -70,6 +72,7 @@ class Repositories: slack_patches_repo_packages: str = 'PACKAGES.TXT' slack_patches_repo_checksums: str = 'CHECKSUMS.md5' slack_patches_repo_changelog: str = 'ChangeLog.txt' + slack_patches_repo_tag: str = '_slack15.0' alien_repo: bool = False alien_repo_name: str = 'alien' @@ -79,6 +82,7 @@ class Repositories: alien_repo_packages: str = 'PACKAGES.TXT' alien_repo_checksums: str = 'CHECKSUMS.md5' alien_repo_changelog: str = 'ChangeLog.txt' + alien_repo_tag: str = 'alien' multilib_repo: bool = False multilib_repo_name: str = 'multilib' @@ -88,6 +92,7 @@ class Repositories: multilib_repo_packages: str = 'PACKAGES.TXT' multilib_repo_checksums: str = 'CHECKSUMS.md5' multilib_repo_changelog: str = 'ChangeLog.txt' + multilib_repo_tag: str = 'alien' restricted_repo: bool = False restricted_repo_name: str = 'restricted' @@ -97,6 +102,7 @@ class Repositories: restricted_repo_packages: str = 'PACKAGES.TXT' restricted_repo_checksums: str = 'CHECKSUMS.md5' restricted_repo_changelog: str = 'ChangeLog.txt' + restricted_repo_tag: str = 'alien' gnome_repo: bool = False gnome_repo_name: str = 'gnome' @@ -105,6 +111,7 @@ class Repositories: gnome_repo_packages: str = 'PACKAGES.TXT' gnome_repo_checksums: str = 'CHECKSUMS.md5' gnome_repo_changelog: str = 'ChangeLog.txt' + gnome_repo_tag: str = 'gfs' msb_repo: bool = False msb_repo_name: str = 'msb' @@ -114,6 +121,7 @@ class Repositories: msb_repo_packages: str = 'PACKAGES.TXT' msb_repo_checksums: str = 'CHECKSUMS.md5' msb_repo_changelog: str = 'ChangeLog.txt' + msb_repo_tag: str = 'msb' csb_repo: bool = False csb_repo_name: str = 'csb' @@ -123,14 +131,16 @@ class Repositories: csb_repo_packages: str = 'PACKAGES.TXT' csb_repo_checksums: str = 'CHECKSUMS.md5' csb_repo_changelog: str = 'ChangeLog.txt' + csb_repo_tag: str = 'csb' conraid_repo: bool = False conraid_repo_name: str = 'conraid' conraid_repo_path: Path = Path(config.lib_path, 'repositories', conraid_repo_name) - conraid_repo_mirror: str = 'https://reddoglinux.ddns.net/linux/conraid_43.x/x86_64/' + conraid_repo_mirror: str = 'https://slack.conraid.net/repository/slackware64-current/' conraid_repo_packages: str = 'PACKAGES.TXT' conraid_repo_checksums: str = 'CHECKSUMS.md5' conraid_repo_changelog: str = 'ChangeLog.txt' + conraid_repo_tag: str = 'cf' slackonly_repo: bool = False slackonly_repo_name: str = 'slackonly' @@ -139,6 +149,7 @@ class Repositories: slackonly_repo_packages: str = 'PACKAGES.TXT' slackonly_repo_checksums: str = 'CHECKSUMS.md5' slackonly_repo_changelog: str = 'ChangeLog.txt' + slackonly_repo_tag: str = 'slonly' salixos_repo: bool = False salixos_repo_name: str = 'salixos' @@ -147,6 +158,7 @@ class Repositories: salixos_repo_packages: str = 'PACKAGES.TXT' salixos_repo_checksums: str = 'CHECKSUMS.md5' salixos_repo_changelog: str = 'ChangeLog.txt' + salixos_repo_tag: str = '' salixos_extra_repo: bool = False salixos_extra_repo_name: str = 'salixos_extra' @@ -156,6 +168,7 @@ class Repositories: salixos_extra_repo_packages: str = 'PACKAGES.TXT' salixos_extra_repo_checksums: str = 'CHECKSUMS.md5' salixos_extra_repo_changelog: str = 'ChangeLog.txt' + salixos_extra_repo_tag: str = '' salixos_patches_repo: bool = False salixos_patches_repo_name: str = 'salixos_patches' @@ -165,6 +178,7 @@ class Repositories: salixos_patches_repo_packages: str = 'PACKAGES.TXT' salixos_patches_repo_checksums: str = 'CHECKSUMS.md5' salixos_patches_repo_changelog: str = 'ChangeLog.txt' + salixos_patches_repo_tag: str = '_slack15.0' slackel_repo: bool = False slackel_repo_name: str = 'slackel' @@ -173,6 +187,7 @@ class Repositories: slackel_repo_packages: str = 'PACKAGES.TXT' slackel_repo_checksums: str = 'CHECKSUMS.md5' slackel_repo_changelog: str = 'ChangeLog.txt' + slackel_repo_tag: str = 'dj' slint_repo: bool = False slint_repo_name: str = 'slint' @@ -181,6 +196,7 @@ class Repositories: slint_repo_packages: str = 'PACKAGES.TXT' slint_repo_checksums: str = 'CHECKSUMS.md5' slint_repo_changelog: str = 'ChangeLog.txt' + slint_repo_tag: str = 'slint' try: if repositories_file_toml.is_file(): @@ -209,6 +225,7 @@ class Repositories: slack_repo_packages: str = repos_config['SLACK_REPO_PACKAGES'] slack_repo_checksums: str = repos_config['SLACK_REPO_CHECKSUMS'] slack_repo_changelog: str = repos_config['SLACK_REPO_CHANGELOG'] + slack_repo_tag: str = repos_config['SLACK_REPO_TAG'] slack_extra_repo: bool = repos_config['SLACK_EXTRA_REPO'] slack_extra_repo_name: str = repos_config['SLACK_EXTRA_REPO_NAME'] @@ -217,6 +234,7 @@ class Repositories: slack_extra_repo_packages: str = repos_config['SLACK_EXTRA_REPO_PACKAGES'] slack_extra_repo_checksums: str = repos_config['SLACK_EXTRA_REPO_CHECKSUMS'] slack_extra_repo_changelog: str = repos_config['SLACK_EXTRA_REPO_CHANGELOG'] + slack_extra_repo_tag: str = repos_config['SLACK_EXTRA_REPO_TAG'] slack_patches_repo: bool = repos_config['SLACK_PATCHES_REPO'] slack_patches_repo_name: str = repos_config['SLACK_PATCHES_REPO_NAME'] @@ -225,6 +243,7 @@ class Repositories: slack_patches_repo_packages: str = repos_config['SLACK_PATCHES_REPO_PACKAGES'] slack_patches_repo_checksums: str = repos_config['SLACK_PATCHES_REPO_CHECKSUMS'] slack_patches_repo_changelog: str = repos_config['SLACK_PATCHES_REPO_CHANGELOG'] + slack_patches_repo_tag: str = repos_config['SLACK_PATCHES_REPO_TAG'] alien_repo: bool = repos_config['ALIEN_REPO'] alien_repo_name: str = repos_config['ALIEN_REPO_NAME'] @@ -233,6 +252,7 @@ class Repositories: alien_repo_packages: str = repos_config['ALIEN_REPO_PACKAGES'] alien_repo_checksums: str = repos_config['ALIEN_REPO_CHECKSUMS'] alien_repo_changelog: str = repos_config['ALIEN_REPO_CHANGELOG'] + alien_repo_tag: str = repos_config['ALIEN_REPO_TAG'] multilib_repo: bool = repos_config['MULTILIB_REPO'] multilib_repo_name: str = repos_config['MULTILIB_REPO_NAME'] @@ -241,6 +261,7 @@ class Repositories: multilib_repo_packages: str = repos_config['MULTILIB_REPO_PACKAGES'] multilib_repo_checksums: str = repos_config['MULTILIB_REPO_CHECKSUMS'] multilib_repo_changelog: str = repos_config['MULTILIB_REPO_CHANGELOG'] + multilib_repo_tag: str = repos_config['MULTILIB_REPO_TAG'] restricted_repo: bool = repos_config['RESTRICTED_REPO'] restricted_repo_name: str = repos_config['RESTRICTED_REPO_NAME'] @@ -249,6 +270,7 @@ class Repositories: restricted_repo_packages: str = repos_config['RESTRICTED_REPO_PACKAGES'] restricted_repo_checksums: str = repos_config['RESTRICTED_REPO_CHECKSUMS'] restricted_repo_changelog: str = repos_config['RESTRICTED_REPO_CHANGELOG'] + restricted_repo_tag: str = repos_config['RESTRICTED_REPO_TAG'] gnome_repo: bool = repos_config['GNOME_REPO'] gnome_repo_name: str = repos_config['GNOME_REPO_NAME'] @@ -256,6 +278,7 @@ class Repositories: gnome_repo_packages: str = repos_config['GNOME_REPO_PACKAGES'] gnome_repo_checksums: str = repos_config['GNOME_REPO_CHECKSUMS'] gnome_repo_changelog: str = repos_config['GNOME_REPO_CHANGELOG'] + gnome_repo_tag: str = repos_config['GNOME_REPO_TAG'] msb_repo: bool = repos_config['MSB_REPO'] msb_repo_name: str = repos_config['MSB_REPO_NAME'] @@ -264,6 +287,7 @@ class Repositories: msb_repo_packages: str = repos_config['MSB_REPO_PACKAGES'] msb_repo_checksums: str = repos_config['MSB_REPO_CHECKSUMS'] msb_repo_changelog: str = repos_config['MSB_REPO_CHANGELOG'] + msb_repo_tag: str = repos_config['MSB_REPO_TAG'] csb_repo: bool = repos_config['CSB_REPO'] csb_repo_name: str = repos_config['CSB_REPO_NAME'] @@ -272,6 +296,7 @@ class Repositories: csb_repo_packages: str = repos_config['CSB_REPO_PACKAGES'] csb_repo_checksums: str = repos_config['CSB_REPO_CHECKSUMS'] csb_repo_changelog: str = repos_config['CSB_REPO_CHANGELOG'] + csb_repo_tag: str = repos_config['CSB_REPO_TAG'] conraid_repo: bool = repos_config['CONRAID_REPO'] conraid_repo_name: str = repos_config['CONRAID_REPO_NAME'] @@ -279,6 +304,7 @@ class Repositories: conraid_repo_packages: str = repos_config['CONRAID_REPO_PACKAGES'] conraid_repo_checksums: str = repos_config['CONRAID_REPO_CHECKSUMS'] conraid_repo_changelog: str = repos_config['CONRAID_REPO_CHANGELOG'] + conraid_repo_tag: str = repos_config['CONRAID_REPO_TAG'] slackonly_repo: bool = repos_config['SLACKONLY_REPO'] slackonly_repo_name: str = repos_config['SLACKONLY_REPO_NAME'] @@ -286,6 +312,7 @@ class Repositories: slackonly_repo_packages: str = repos_config['SLACKONLY_REPO_PACKAGES'] slackonly_repo_checksums: str = repos_config['SLACKONLY_REPO_CHECKSUMS'] slackonly_repo_changelog: str = repos_config['SLACKONLY_REPO_CHANGELOG'] + slackonly_repo_tag: str = repos_config['SLACKONLY_REPO_TAG'] salixos_repo: bool = repos_config['SALIXOS_REPO'] salixos_repo_name: str = repos_config['SALIXOS_REPO_NAME'] @@ -293,6 +320,7 @@ class Repositories: salixos_repo_packages: str = repos_config['SALIXOS_REPO_PACKAGES'] salixos_repo_checksums: str = repos_config['SALIXOS_REPO_CHECKSUMS'] salixos_repo_changelog: str = repos_config['SALIXOS_REPO_CHANGELOG'] + salixos_repo_tag: str = repos_config['SALIXOS_REPO_TAG'] salixos_extra_repo: bool = repos_config['SALIXOS_EXTRA_REPO'] salixos_extra_repo_name: str = repos_config['SALIXOS_EXTRA_REPO_NAME'] @@ -301,6 +329,7 @@ class Repositories: salixos_extra_repo_packages: str = repos_config['SALIXOS_EXTRA_REPO_PACKAGES'] salixos_extra_repo_checksums: str = repos_config['SALIXOS_EXTRA_REPO_CHECKSUMS'] salixos_extra_repo_changelog: str = repos_config['SALIXOS_EXTRA_REPO_CHANGELOG'] + salixos_extra_repo_tag: str = repos_config['SALIXOS_EXTRA_REPO_TAG'] salixos_patches_repo: bool = repos_config['SALIXOS_PATCHES_REPO'] salixos_patches_repo_name: str = repos_config['SALIXOS_PATCHES_REPO_NAME'] @@ -309,6 +338,7 @@ class Repositories: salixos_patches_repo_packages: str = repos_config['SALIXOS_PATCHES_REPO_PACKAGES'] salixos_patches_repo_checksums: str = repos_config['SALIXOS_PATCHES_REPO_CHECKSUMS'] salixos_patches_repo_changelog: str = repos_config['SALIXOS_PATCHES_REPO_CHANGELOG'] + salixos_patches_repo_tag: str = repos_config['SALIXOS_PATCHES_REPO_TAG'] slackel_repo: bool = repos_config['SLACKEL_REPO'] slackel_repo_name: str = repos_config['SLACKEL_REPO_NAME'] @@ -316,6 +346,7 @@ class Repositories: slackel_repo_packages: str = repos_config['SLACKEL_REPO_PACKAGES'] slackel_repo_checksums: str = repos_config['SLACKEL_REPO_CHECKSUMS'] slackel_repo_changelog: str = repos_config['SLACKEL_REPO_CHANGELOG'] + slackel_repo_tag: str = repos_config['SLACKEL_REPO_TAG'] slint_repo: bool = repos_config['SLINT_REPO'] slint_repo_name: str = repos_config['SLINT_REPO_NAME'] @@ -323,6 +354,7 @@ class Repositories: slint_repo_packages: str = repos_config['SLINT_REPO_PACKAGES'] slint_repo_checksums: str = repos_config['SLINT_REPO_CHECKSUMS'] slint_repo_changelog: str = repos_config['SLINT_REPO_CHANGELOG'] + slint_repo_tag: str = repos_config['SLINT_REPO_TAG'] except (tomli.TOMLDecodeError, KeyError) as error: raise SystemExit(f'\n{config.prog_name} {bred}Error{endc}: {error}: in the configuration file ' @@ -343,25 +375,95 @@ class Repositories: # List of repositories. repositories = { - sbo_repo_name: [sbo_enabled_repo, sbo_repo_path, sbo_repo_changelog], - ponce_repo_name: [ponce_repo, ponce_repo_path, ponce_repo_changelog], - slack_repo_name: [slack_repo, slack_repo_path, slack_repo_changelog], - slack_extra_repo_name: [slack_extra_repo, slack_extra_repo_path, slack_extra_repo_changelog], - slack_patches_repo_name: [slack_patches_repo, slack_patches_repo_path, slack_patches_repo_changelog], - alien_repo_name: [alien_repo, alien_repo_path, alien_repo_changelog], - multilib_repo_name: [multilib_repo, multilib_repo_path, multilib_repo_changelog], - restricted_repo_name: [restricted_repo, restricted_repo_path, restricted_repo_changelog], - gnome_repo_name: [gnome_repo, gnome_repo_path, gnome_repo_changelog], - msb_repo_name: [msb_repo, msb_repo_path, msb_repo_changelog], - csb_repo_name: [csb_repo, csb_repo_path, csb_repo_changelog], - conraid_repo_name: [conraid_repo, conraid_repo_path, conraid_repo_changelog], - slackonly_repo_name: [slackonly_repo, slackonly_repo_path, slackonly_repo_changelog], - salixos_repo_name: [salixos_repo, salixos_repo_path, salixos_repo_changelog], - salixos_extra_repo_name: [salixos_extra_repo, salixos_extra_repo_path, salixos_extra_repo_changelog], - salixos_patches_repo_name: [salixos_patches_repo, salixos_patches_repo_path, - salixos_patches_repo_changelog], - slackel_repo_name: [slackel_repo, slackel_repo_path, slackel_repo_changelog], - slint_repo_name: [slint_repo, slint_repo_path, slint_repo_changelog] + sbo_repo_name: [sbo_enabled_repo, + sbo_repo_path, + sbo_repo_changelog, + sbo_repo_tag], + + ponce_repo_name: [ponce_repo, + ponce_repo_path, + ponce_repo_changelog, + ponce_repo_tag], + + slack_repo_name: [slack_repo, + slack_repo_path, + slack_repo_changelog, + slack_repo_tag], + + slack_extra_repo_name: [slack_extra_repo, + slack_extra_repo_path, + slack_extra_repo_changelog, + slack_extra_repo_tag], + + slack_patches_repo_name: [slack_patches_repo, + slack_patches_repo_path, + slack_patches_repo_changelog, + slack_patches_repo_tag], + + alien_repo_name: [alien_repo, + alien_repo_path, + alien_repo_changelog, + alien_repo_tag], + + multilib_repo_name: [multilib_repo, + multilib_repo_path, + multilib_repo_changelog, + multilib_repo_tag], + + restricted_repo_name: [restricted_repo, + restricted_repo_path, + restricted_repo_changelog, + restricted_repo_tag], + + gnome_repo_name: [gnome_repo, + gnome_repo_path, + gnome_repo_changelog, + gnome_repo_tag], + + msb_repo_name: [msb_repo, + msb_repo_path, + msb_repo_changelog, + msb_repo_tag], + + csb_repo_name: [csb_repo, + csb_repo_path, + csb_repo_changelog, + csb_repo_tag], + + conraid_repo_name: [conraid_repo, + conraid_repo_path, + conraid_repo_changelog, + conraid_repo_tag], + + slackonly_repo_name: [slackonly_repo, + slackonly_repo_path, + slackonly_repo_changelog, + slackonly_repo_tag], + + salixos_repo_name: [salixos_repo, + salixos_repo_path, + salixos_repo_changelog, + salixos_repo_tag], + + salixos_extra_repo_name: [salixos_extra_repo, + salixos_extra_repo_path, + salixos_extra_repo_changelog, + slack_extra_repo_tag], + + salixos_patches_repo_name: [salixos_patches_repo, + salixos_patches_repo_path, + salixos_patches_repo_changelog, + salixos_patches_repo_tag], + + slackel_repo_name: [slackel_repo, + slackel_repo_path, + slackel_repo_changelog, + slackel_repo_tag], + + slint_repo_name: [slint_repo, + slint_repo_path, + slint_repo_changelog, + slint_repo_tag] } # All the binary repositories names. diff --git a/slpkg/upgrade.py b/slpkg/upgrade.py index 5b9cde62..8c591987 100644 --- a/slpkg/upgrade.py +++ b/slpkg/upgrade.py @@ -52,7 +52,7 @@ class Upgrade(Configs): inst_version = inst_build = '0' inst_package: str = self.utils.is_package_installed(name) - if inst_package: + if inst_package: # and inst_package.endswith('alien'): inst_version: str = self.utils.split_binary_pkg(inst_package)[1] inst_build: str = self.utils.split_binary_pkg(inst_package)[3]