mirror of
https://abf.rosa.ru/djam/urpm-tools.git
synced 2025-02-24 01:42:46 +00:00
Force removing old files with 'rm -f'
This commit is contained in:
parent
ee36b6441c
commit
2c188d62cc
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ def main(args):
|
||||||
for dropped in evrlist[:keepnum]:
|
for dropped in evrlist[:keepnum]:
|
||||||
(e,v,r,d) = dropped
|
(e,v,r,d) = dropped
|
||||||
pkg = str(verfile[(n,a,e,v,r,d)]).replace("['","").replace("']","")
|
pkg = str(verfile[(n,a,e,v,r,d)]).replace("['","").replace("']","")
|
||||||
subprocess.call(["rm", pkg])
|
subprocess.call(["rm", "-f", pkg])
|
||||||
if options.verbose:
|
if options.verbose:
|
||||||
for dropped in evrlist[:keepnum]:
|
for dropped in evrlist[:keepnum]:
|
||||||
(e,v,r,d) = dropped
|
(e,v,r,d) = dropped
|
||||||
|
|
Loading…
Add table
Reference in a new issue