diff --git a/configs/slpkg.yml b/configs/slpkg.yml index 27632e2d..3e032f21 100644 --- a/configs/slpkg.yml +++ b/configs/slpkg.yml @@ -14,7 +14,6 @@ configs: sbo_url: http://slackbuilds.org/slackbuilds/15.0 sbo_txt: SLACKBUILDS.TXT sbo_tar_suffix: .tar.gz - sbo_pkg_suffix: .tgz sbo_repo_tag: _SBo installpkg: upgradepkg --install-new reinstall: upgradepkg --reinstall diff --git a/slpkg/configs.py b/slpkg/configs.py index b8e59759..090d3d8e 100644 --- a/slpkg/configs.py +++ b/slpkg/configs.py @@ -37,7 +37,6 @@ class Configs: sbo_url: str = f'http://slackbuilds.org/slackbuilds/{repo_version}' sbo_txt: str = 'SLACKBUILDS.TXT' sbo_tar_suffix: str = '.tar.gz' - sbo_pkg_suffix: str = '.tgz' sbo_repo_tag: str = '_SBo' # Slackware commands @@ -84,7 +83,6 @@ class Configs: sbo_url: str = config['sbo_url'] sbo_txt: str = config['sbo_txt'] sbo_tar_suffix: str = config['tar_suffix'] - sbo_pkg_suffix: str = config['pkg_suffix'] sbo_repo_tag: str = config['repo_tag'] # Slackware commands diff --git a/tests/test_configs.py b/tests/test_configs.py index 9b3fc51a..eed7e1a5 100644 --- a/tests/test_configs.py +++ b/tests/test_configs.py @@ -8,7 +8,6 @@ class TestConfigs(unittest.TestCase): self.repo_version = Configs.repo_version self.sbo_txt = Configs.sbo_txt self.sbo_tar_suffix = Configs.sbo_tar_suffix - self.sbo_pkg_suffix = Configs.sbo_pkg_suffix self.sbo_repo_tag = Configs.sbo_repo_tag self.os_arch = Configs.os_arch @@ -21,9 +20,6 @@ class TestConfigs(unittest.TestCase): def test_tar_suffix(self): self.assertEqual('.tar.gz', self.sbo_tar_suffix) - def test_pkg_suffix(self): - self.assertEqual('.tgz', self.sbo_pkg_suffix) - def test_repo_tag(self): self.assertEqual('_SBo', self.sbo_repo_tag)