From 383b6f80fef7eabbf52d40eacf8b671d746f478f Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Mon, 25 Feb 2019 10:19:48 -0800 Subject: [PATCH] Fix incorrect reference to database file --- bin/addpkg | 2 +- bin/delpkg | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/addpkg b/bin/addpkg index 0e49f30..aa9e9da 100644 --- a/bin/addpkg +++ b/bin/addpkg @@ -87,7 +87,7 @@ if __name__ == '__main__': cachedir = os.path.join('/var', 'cache', 'pacman', repo) # this assumes that the db file for the repo # has the same name as that repo - db = os.path.join(cachedir, f"repo.{DB_EXT}") + db = os.path.join(cachedir, f"{repo}.{DB_EXT}") if args.verbose: stdout_handler.setLevel(logging.DEBUG) diff --git a/bin/delpkg b/bin/delpkg index 088a190..f10ecc2 100644 --- a/bin/delpkg +++ b/bin/delpkg @@ -81,7 +81,7 @@ if __name__ == '__main__': cachedir = os.path.join('/var', 'cache', 'pacman', repo) # this assumes that the db file for the repo # has the same name as that repo - db = os.path.join(cachedir, f"repo.{DB_EXT}") + db = os.path.join(cachedir, f"{repo}.{DB_EXT}") if args.verbose: stdout_handler.setLevel(logging.DEBUG) diff --git a/setup.py b/setup.py index 0c571ae..e593e7f 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.rst", "r") as fh: setuptools.setup( name="packaging_scripts", - version="1.0.1", + version="1.0.2", author="Eric Russel Torres", author_email="erictorres4@protonmail.com", description="A set of helpers for automating borg interaction",