diff --git a/slpkg/binary/install.py b/slpkg/binary/install.py index 74d66cb8..f347dbc9 100644 --- a/slpkg/binary/install.py +++ b/slpkg/binary/install.py @@ -229,9 +229,9 @@ class BinaryInstall(object): COLOR = self.meta.color["RED"] uni_sum += 1 ver = get_installed_version(pkg_split[0]) - print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>11}{12}".format( + print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>11}{12}".format( COLOR, pkg_split[0] + ver, self.meta.color["ENDC"], - " " * (24-len(pkg_split[0] + ver)), pkg_split[1], + " " * (23-len(pkg_split[0] + ver)), pkg_split[1], " " * (18-len(pkg_split[1])), pkg_split[2], " " * (8-len(pkg_split[2])), pkg_split[3], " " * (7-len(pkg_split[3])), repo, diff --git a/slpkg/checks.py b/slpkg/checks.py index 9f6b5534..23d72416 100644 --- a/slpkg/checks.py +++ b/slpkg/checks.py @@ -107,7 +107,7 @@ class Updates(object): def print_status(self, repo): """Print status """ - print(" {0}{1}{2}".format(repo, " " * (20 - len(repo)), self.st)) + print(" {0}{1}{2}".format(repo, " " * (19 - len(repo)), self.st)) def summary(self): """Print summary diff --git a/slpkg/sbo/slackbuild.py b/slpkg/sbo/slackbuild.py index b2b0a49e..d9353596 100644 --- a/slpkg/sbo/slackbuild.py +++ b/slpkg/sbo/slackbuild.py @@ -213,9 +213,9 @@ class SBoInstall(object): args[3] arch """ ver = get_installed_version(args[1]) - print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>11}{12}".format( + print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>11}{12}".format( args[0], args[1] + ver, self.meta.color["ENDC"], - " " * (24-len(args[1] + ver)), args[2], + " " * (23-len(args[1] + ver)), args[2], " " * (18-len(args[2])), args[3], " " * (15-len(args[3])), "", "", "SBo", "", "")).rstrip() diff --git a/slpkg/slack/patches.py b/slpkg/slack/patches.py index 9d5bcb92..c06d11f3 100644 --- a/slpkg/slack/patches.py +++ b/slpkg/slack/patches.py @@ -163,9 +163,9 @@ class Patches(object): if not find_package(pkg_split[0], self.meta.pkg_path): color = self.meta.color["RED"] ver = get_installed_version(pkg_split[0]) - print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>12}{12}".format( + print(" {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>12}{12}".format( color, pkg_split[0] + ver, self.meta.color["ENDC"], - " " * (24-len(pkg_split[0] + ver)), pkg_split[1], + " " * (23-len(pkg_split[0] + ver)), pkg_split[1], " " * (18-len(pkg_split[1])), pkg_split[2], " " * (8-len(pkg_split[2])), pkg_split[3], " " * (7-len(pkg_split[3])), "Slack",