Open ramesh45345 opened 8 years ago
I upvote this. I think it should not be difficult to extended/override the option.
Doing the workaround yet works fine, but is annoying to type that whole thing. Would be a really nice addition the support of Cache clearing through apacman natively.
I checked the apacman and apacman.conf man pages, but couldn't find this functionality. Was wondering if apacman could clean its own cache (which I know defaults to /var/cache/apacman/pkg) in addition to passing the -Sc or -Scc flags through to pacman. For example, running "apacman -Sc --noconfirm" would clean apacman's cache in addition to the pacman cache.
A workaround to provide this functionality right now is to run "pacman -Sc --cachedir=/var/cache/apacman/pkg". Pacman will actually clean the apacman cache for me, but perhaps this would be nice to have as an enhancement to apacman?