Dnia 2015-06-01, o godz. 12:13:52
William Hubbs <willi...@gentoo.org> napisał(a):

> # @FUNCTION: s6_get_servicedir
> # @DESCRIPTION:
> # Output the path for the s6 service directory (not including ${D}).
> s6_get_servicedir() {
>       has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=

How about killing some support for ancient EAPIs? The less people can
use them, the better for ebuild migration.

>       debug-print-function ${FUNCNAME} "${@}"
> 
>       echo "${EPREFIX}$(_s6_get_servicedir)"
> }
> 
> # @FUNCTION: s6_doservice
> # @USAGE: servicename run finish

Please don't name it 'do*' if it doesn't match the usual do-function
usage, i.e. 'dofoo file1 file2...'. That's why I created
'systemd_install_serviced' and not 'doserviced'.

-- 
Best regards,
Michał Górny

Attachment: pgpFdxZ3sVnNL.pgp
Description: OpenPGP digital signature

Reply via email to