mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Rename module
This commit is contained in:
parent
1cc5a7e131
commit
691e6398f1
3 changed files with 5 additions and 5 deletions
|
@ -33,7 +33,7 @@ from slpkg.blacklist import BlackList
|
|||
from slpkg.downloader import Download
|
||||
from slpkg.log_deps import write_deps
|
||||
from slpkg.grep_md5 import pkg_checksum
|
||||
from slpkg.remove import remove_package
|
||||
from slpkg.remove import delete_package
|
||||
from slpkg.splitting import split_package
|
||||
from slpkg.__metadata__ import MetaData as _meta_
|
||||
|
||||
|
@ -130,7 +130,7 @@ class BinaryInstall(object):
|
|||
ins, upg = self.install_packages()
|
||||
self.msg.reference(ins, upg)
|
||||
write_deps(self.deps_dict)
|
||||
remove_package(self.tmp_path, self.install)
|
||||
delete_package(self.tmp_path, self.install)
|
||||
else:
|
||||
self.msg.not_found(self.if_upgrade)
|
||||
except KeyboardInterrupt:
|
||||
|
|
|
@ -27,7 +27,7 @@ import os
|
|||
from slpkg.__metadata__ import MetaData as _meta_
|
||||
|
||||
|
||||
def remove_package(path, packages):
|
||||
def delete_package(path, packages):
|
||||
"""
|
||||
Remove downloaded packages
|
||||
"""
|
||||
|
|
|
@ -34,7 +34,7 @@ from slpkg.toolbar import status
|
|||
from slpkg.checksum import check_md5
|
||||
from slpkg.blacklist import BlackList
|
||||
from slpkg.downloader import Download
|
||||
from slpkg.remove import remove_package
|
||||
from slpkg.remove import delete_package
|
||||
from slpkg.grep_md5 import pkg_checksum
|
||||
from slpkg.splitting import split_package
|
||||
from slpkg.__metadata__ import MetaData as _meta_
|
||||
|
@ -120,7 +120,7 @@ class Patches(object):
|
|||
if self.meta.slackpkg_log in ["on", "ON"]:
|
||||
self.slackpkg_update()
|
||||
self.msg.reference(self.installed, self.upgraded)
|
||||
remove_package(self.patch_path, self.upgrade_all)
|
||||
delete_package(self.patch_path, self.upgrade_all)
|
||||
else:
|
||||
slack_arch = ""
|
||||
if self.meta.arch == "x86_64":
|
||||
|
|
Loading…
Add table
Reference in a new issue