[pacman-dev] [PATCH] paccache: adding the possibility for multiple cachedirs
Andrew Gregory
andrew.gregory.8 at gmail.com
Sun Aug 24 22:23:03 EDT 2014
On 08/25/14 at 03:07am, silent boatman wrote:
> Either by specifing several -c parameters or only
> one -c parameter with a comma separated value.
> One charedir could for example be for the official arch packages
> and one for the aur.
>
> Signed-off-by: Maxim Andersson <thesilentboatman at gmail.com>
> ---
> contrib/paccache.sh.in | 89 +++++++++++++++++++++++++++++---------------------
> 1 file changed, 51 insertions(+), 38 deletions(-)
>
> diff --git a/contrib/paccache.sh.in b/contrib/paccache.sh.in
> index 039ac8a..2170d76 100644
> --- a/contrib/paccache.sh.in
> +++ b/contrib/paccache.sh.in
> @@ -23,9 +23,9 @@ shopt -s extglob
> declare -r myname='paccache'
> declare -r myver='@PACKAGE_VERSION@'
>
> -declare -a candidates=() cmdopts=() whitelist=() blacklist=()
> +declare -a cachedirs=() candidates=() cmdopts=() whitelist=() blacklist=()
> declare -i delete=0 dryrun=0 filecount=0 move=0 needsroot=0
> totalsaved=0 verbose=0
> -declare cachedir=@localstatedir@/cache/pacman/pkg delim=$'\n'
> keep=3 movedir= scanarch=
> +declare delim=$'\n' keep=3 movedir= scanarch=
Your mail client has mangled the patch. Please resubmit using
`git send-email`.
apg
More information about the pacman-dev
mailing list