contrib/openrc/init.d/package-cache: Don't include 'distfiles' in source
authorW. Trevor King <wking@tremily.us>
Fri, 21 Feb 2014 05:36:38 +0000 (21:36 -0800)
committerW. Trevor King <wking@tremily.us>
Fri, 21 Feb 2014 05:36:38 +0000 (21:36 -0800)
commit4287acbfac0a62adb113088b614e87231dd06813
tree95188ef8926e63f26655345ddaa5219319e7a53f
parent39b72dec99fa48f1c000db71a7ef92aecf1b70c9
contrib/openrc/init.d/package-cache: Don't include 'distfiles' in source

Portage will request ${MIRROR}/distfiles/${FILENAME}, so we don't want
the 'distfiles' part in the source directory.  With the shift, we can
also use a single cache for both source (distfiles) and binary
packages (PKGDIR, which defaults to /usr/portage/packages) if there
are any binary packages on the upstream mirror.
contrib/openrc/init.d/package-cache