diff --git a/slpkg/sbo/slackbuild.py b/slpkg/sbo/slackbuild.py index 9795f980..0f399174 100644 --- a/slpkg/sbo/slackbuild.py +++ b/slpkg/sbo/slackbuild.py @@ -280,8 +280,7 @@ class SBoInstall(object): """Search for binary packages in output directory """ find = "" - arch = self.arch - package = "{0}-{1}-{2}_SBo".format(prgnam, arch, build_N) + package = "{0}-{1}-{2}_SBo".format(prgnam, self.arch, build_N) find = find_package(package, self.meta.output) return ["".join([self.meta.output] + find)] diff --git a/slpkg/sbo/views.py b/slpkg/sbo/views.py index cb0b826a..06cbc508 100644 --- a/slpkg/sbo/views.py +++ b/slpkg/sbo/views.py @@ -219,9 +219,8 @@ class SBoNetwork(object): """Install SBo package found in /tmp directory. """ find = "" - arch = self.arch package = "{0}-{1}-{2}_SBo".format( - prgnam, arch, BuildNumber(sbo_url="", pkg=self.name).get()) + prgnam, self.arch, BuildNumber(sbo_url="", pkg=self.name).get()) find = find_package(package, self.meta.output) binary = ["".join([self.meta.output] + find)] print("[ {0}Installing{1} ] --> {2}".format(self.green,