FS#9279 - updatesync does not correctly delete packages
Attached to Project:
Pacman
Opened by Alex Merry (pippin) - Monday, 21 January 2008, 01:47 GMT
Last edited by Dan McGee (toofishes) - Saturday, 02 February 2008, 16:34 GMT
Opened by Alex Merry (pippin) - Monday, 21 January 2008, 01:47 GMT
Last edited by Dan McGee (toofishes) - Saturday, 02 February 2008, 16:34 GMT
|
Details
Summary and Info:
If you use the command line updatesync del repo.db.tar.gz package-name updatesync will not delete the package, but instead give an error. There are two issues: line 147 uses $1 instead of $option (so picks up "del" every time), and line 119 checks for the existence of the file given by $option, despite the fact that it is not a filename in this case. The attached diff fixes these problems. |
This task depends upon
Closed by Dan McGee (toofishes)
Saturday, 02 February 2008, 16:34 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in maint commit b1103a3eaf0c6bb2982ac90000628baa2d5c2079
Saturday, 02 February 2008, 16:34 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in maint commit b1103a3eaf0c6bb2982ac90000628baa2d5c2079
Comment by
Roman Kyrylych (Romashka) - Monday,
21 January 2008, 08:08 GMT
AFAIR gensync and updatesync are deprecated in favour of
repo-add/repo-remove
updatesync.diff