mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Fixed double packages
This commit is contained in:
parent
c353a3035e
commit
62e6153135
1 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@ class Argparse:
|
|||
if len(self.args) >= 2:
|
||||
# Build slackbuilds
|
||||
if self.args[0] == 'build':
|
||||
packages = self.args[1:]
|
||||
packages = set(self.args[1:])
|
||||
|
||||
check = Check(packages)
|
||||
check.exists()
|
||||
|
@ -116,7 +116,7 @@ class Argparse:
|
|||
|
||||
# Install packages
|
||||
if self.args[0] == 'install':
|
||||
packages = self.args[1:]
|
||||
packages = set(self.args[1:])
|
||||
|
||||
check = Check(packages)
|
||||
check.exists()
|
||||
|
@ -128,7 +128,7 @@ class Argparse:
|
|||
|
||||
# Remove packages
|
||||
if self.args[0] == 'remove':
|
||||
packages = self.args[1:]
|
||||
packages = set(self.args[1:])
|
||||
|
||||
check = Check(packages)
|
||||
check.installed()
|
||||
|
|
Loading…
Reference in a new issue