mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Fix check log beofre remove
This commit is contained in:
parent
7f409a3d6a
commit
e52efaadf0
1 changed files with 1 additions and 0 deletions
|
@ -116,6 +116,7 @@ class PackageManager(object):
|
||||||
# read and remove all else remove only the package.
|
# read and remove all else remove only the package.
|
||||||
if (os.path.isfile(self.dep_path + rmv) and
|
if (os.path.isfile(self.dep_path + rmv) and
|
||||||
self.meta.del_deps in ["on", "ON"] or
|
self.meta.del_deps in ["on", "ON"] or
|
||||||
|
os.path.isfile(self.dep_path + rmv) and
|
||||||
"--deps" in self.extra):
|
"--deps" in self.extra):
|
||||||
dependencies = self._view_deps(self.dep_path, rmv)
|
dependencies = self._view_deps(self.dep_path, rmv)
|
||||||
if dependencies and self._rmv_deps_answer() in ["y",
|
if dependencies and self._rmv_deps_answer() in ["y",
|
||||||
|
|
Loading…
Reference in a new issue