[pacman-dev] [PATCH] Combine repo-add and repo-remove into one script

Xavier shiningxc at gmail.com
Sat Jun 14 15:10:27 EDT 2008


Dan McGee wrote:
> They shared about 75% of their code, so there is no real reason we should
> maintain them separately. Merge the differences accordingly and add a check
> based on the basename of the command used to decide what behavior to follow.
>
> Signed-off-by: Dan McGee<dan at archlinux.org>

I loved that idea, but it turned out to be more complicated than I 
expected and hoped. Especially the fact that we need to do the check 
(repo-add or repo-remove) several times.




More information about the pacman-dev mailing list