mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Bugfix: --checklist flag works both with --upgrade option #129
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
6b19a6e143
commit
6019773201
4 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
3.9.0 - 21/06/2020
|
||||
BugFix:
|
||||
- Fixed --checklist flag works both with --upgrade option
|
||||
|
||||
3.8.9 - 03/06/2020
|
||||
BugFix:
|
||||
- Fixed Slackware distribution --upgrade flag
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# slpkg 3.8.9
|
||||
# slpkg 3.9.0
|
||||
|
||||
Slpkg is a powerful software package manager that installs, updates, and removes packages on
|
||||
[Slackware](http://www.slackware.com/) based systems. It automatically computes dependencies and
|
||||
|
|
|
@ -76,7 +76,7 @@ class MetaData:
|
|||
|
||||
__all__ = "slpkg"
|
||||
__author__ = "dslackw"
|
||||
__version_info__ = (3, 8, 9)
|
||||
__version_info__ = (3, 9, 0)
|
||||
__version__ = "{0}.{1}.{2}".format(*__version_info__)
|
||||
__license__ = "GNU General Public License v3 (GPLv3)"
|
||||
__email__ = "d.zlatanidis@gmail.com"
|
||||
|
|
|
@ -309,6 +309,12 @@ class ArgParse(BlackList):
|
|||
"--rebuild"
|
||||
]
|
||||
flag, skip = self.__pkg_upgrade_flags(flags)
|
||||
|
||||
# Remove --checklist flag from args so that works with
|
||||
# both conditions
|
||||
if flags[3] in self.args:
|
||||
self.args.remove(flags[3])
|
||||
|
||||
if (len(self.args) == 3 and self.args[0] in options and
|
||||
self.args[2] == flags[0] and
|
||||
self.args[1] in self.meta.repositories):
|
||||
|
|
Loading…
Reference in a new issue