Commit 491fb52b authored by Luca Giambonini's avatar Luca Giambonini

skip signature files when removing files

parent 33388c05
......@@ -293,6 +293,8 @@ def do_remove_pkg(options, dbname, arch, pkgs):
status_start("[SERVER] remove package(s)")
finalpkgsList = []
for pkg in pkgs:
if '.sig' in pkg:
continue
# sanitize the pkgs names
finalpkgsList.append(extractName(removeExtensions(pkg)))
......
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