diff --git a/slpkg/binaries/install.py b/slpkg/binaries/install.py index 3c90ff32..f863bd9c 100644 --- a/slpkg/binaries/install.py +++ b/slpkg/binaries/install.py @@ -73,15 +73,16 @@ class Packages(Configs): pkg_urls.append(f'{mirror}{location}/{package}') self.binary_packages.append(package) - self.utils.remove_file_if_exists(self.tmp_slpkg, package) - down = Downloader(self.tmp_slpkg, pkg_urls, self.flags) - down.download() else: version: str = BinQueries(pkg).version() self.view_message.view_skipping_packages(pkg, version) - print() + + if pkg_urls: + down = Downloader(self.tmp_slpkg, pkg_urls, self.flags) + down.download() + print() def checksum(self) -> None: """ Packages checksums. """