diff --git a/slpkg/auto_pkg.py b/slpkg/auto_pkg.py index 86b1310a..00cab8cc 100644 --- a/slpkg/auto_pkg.py +++ b/slpkg/auto_pkg.py @@ -28,7 +28,7 @@ from slpkg.__metadata__ import MetaData as _meta_ from slpkg.pkg.manager import PackageManager -class Auto: +class AutoInstall: """Select Slackware command to install packages """ def __init__(self, packages): diff --git a/slpkg/main.py b/slpkg/main.py index f7ae5933..aa33eeb0 100644 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -29,7 +29,6 @@ from slpkg.clean import clean_tmp from slpkg.load import Regex from slpkg.desc import PkgDesc from slpkg.messages import Msg -from slpkg.auto_pkg import Auto from slpkg.config import Config from slpkg.checks import Updates from slpkg.repoinfo import RepoInfo @@ -37,6 +36,7 @@ from slpkg.repolist import RepoList from slpkg.repositories import Repo from slpkg.blacklist import BlackList from slpkg.version import prog_version +from slpkg.auto_pkg import AutoInstall from slpkg.health import PackageHealth from slpkg.new_config import NewConfig from slpkg.tracking import TrackingDeps @@ -777,7 +777,7 @@ class ArgParse(BlackList): else: not_found.append(pkg) if packages: - Auto(packages).select() + AutoInstall(packages).select() if not_found: for ntf in not_found: self.msg.pkg_not_found("", ntf, "Not installed", "")