Force removing old files with 'rm -f'

This commit is contained in:
Denis Silakov 2012-09-19 15:23:23 +04:00
parent ee36b6441c
commit 2c188d62cc

View file

@ -188,7 +188,7 @@ def main(args):
for dropped in evrlist[:keepnum]:
(e,v,r,d) = dropped
pkg = str(verfile[(n,a,e,v,r,d)]).replace("['","").replace("']","")
subprocess.call(["rm", pkg])
subprocess.call(["rm", "-f", pkg])
if options.verbose:
for dropped in evrlist[:keepnum]:
(e,v,r,d) = dropped