No longer require repo argument
This commit is contained in:
parent
fffc1e8cd1
commit
aaff56cea3
2
PKGBUILD
2
PKGBUILD
@ -1,7 +1,7 @@
|
||||
# Maintainer: Eric Torres <erictorres4@protonmail.com>
|
||||
pkgname=packaging-scripts
|
||||
pkgver=1.5.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A set of helper scripts for handling Arch Linux packages"
|
||||
arch=('any')
|
||||
license=('MIT')
|
||||
|
7
bin/pug2
7
bin/pug2
@ -73,16 +73,9 @@ if __name__ == "__main__":
|
||||
default=DEFAULT_FILENAME,
|
||||
help="alternative filename to upload as",
|
||||
)
|
||||
parser.add_argument(
|
||||
"repository",
|
||||
choices=pacman.list_configured_repos(),
|
||||
help="the repository to operate on",
|
||||
metavar="repo",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
filename = args.filename
|
||||
repo = args.repository
|
||||
|
||||
# Run process that lists packages
|
||||
packages = subprocess.run([PACMAN_CMD, "-Qqem"], capture_output=True).stdout
|
||||
|
Loading…
x
Reference in New Issue
Block a user