Fixed double packages

This commit is contained in:
Dimitris Zlatanidis 2022-06-18 00:23:42 +03:00
parent c353a3035e
commit 62e6153135

View file

@ -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()