Commit ab3deeb8 authored by Felix Exner's avatar Felix Exner Committed by Oskar Roesler
Browse files

Correct del_old_pkg function

Remove the correct files from the correct folder
parent dcfccdb3
......@@ -76,7 +76,7 @@ class Packages(Routines):
def del_old_pkg(self):
for pkg in glob.iglob("./repository/*{0}-?.*-?-*.pkg.tar.*".format(self.package)):
for pkg in glob.iglob("{0}/*{1}-?.*-?-*.pkg.tar.*".format(self.localrepo_path, self.package)):
def mvpkg(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment