diff options
author | Sam James <sam@gentoo.org> | 2020-12-03 16:03:50 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-12-03 16:09:06 +0000 |
commit | 4a458d77eee37a6a049f28885892283385371e12 (patch) | |
tree | 7db1d97d0cdcf2111b6a789a1e94fb863f2def69 /sys-process/bcron | |
parent | www-servers/apache: Revbump for another small interface check tweak (diff) | |
download | gentoo-4a458d77eee37a6a049f28885892283385371e12.tar.gz gentoo-4a458d77eee37a6a049f28885892283385371e12.tar.bz2 gentoo-4a458d77eee37a6a049f28885892283385371e12.zip |
sys-process/bcron: Add Python 3.8, 3.9
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process/bcron')
-rw-r--r-- | sys-process/bcron/bcron-0.11.ebuild | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/sys-process/bcron/bcron-0.11.ebuild b/sys-process/bcron/bcron-0.11.ebuild index 1be36b182bfb..60e947e204fd 100644 --- a/sys-process/bcron/bcron-0.11.ebuild +++ b/sys-process/bcron/bcron-0.11.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) inherit cron python-any-r1 toolchain-funcs @@ -65,26 +65,36 @@ src_install() { pkg_config() { cd "${EROOT}"/var/lib/supervise/bcron || die - [[ -e run ]] && ( cp run bcron-sched.run.`date +%Y%m%d%H%M%S` || die ) + if [[ -e run ]] ; then + cp run bcron-sched.run.`date +%Y%m%d%H%M%S` || die + fi cp bcron-sched.run run || die chmod u+x run || die cd "${EROOT}"/var/lib/supervise/bcron/log || die - [[ -e run ]] && ( cp run bcron-sched-log.run.`date +%Y%m%d%H%M%S` || die ) + if [[ -e run ]] ; then + cp run bcron-sched-log.run.`date +%Y%m%d%H%M%S` || die + fi cp bcron-sched-log.run run || die chmod u+x run || die cd "${EROOT}"/var/lib/supervise/bcron-spool || die - [[ -e run ]] && ( cp run bcron-spool.run.`date +%Y%m%d%H%M%S` || die ) + if [[ -e run ]] ; then + cp run bcron-spool.run.`date +%Y%m%d%H%M%S` || die + fi cp bcron-spool.run run || die chmod u+x run || die cd "${EROOT}"/var/lib/supervise/bcron-update || die - [[ -e run ]] && ( cp run bcron-update.run.`date +%Y%m%d%H%M%S` || die ) + if [[ -e run ]] ; then + cp run bcron-update.run.`date +%Y%m%d%H%M%S` || die + fi cp bcron-update.run run || die chmod u+x run || die - [[ ! -e "${EROOT}"/var/spool/cron/trigger ]] && ( mkfifo "${EROOT}"/var/spool/cron/trigger || die ) + if [[ ! -e "${EROOT}"/var/spool/cron/trigger ]] ; then + mkfifo "${EROOT}"/var/spool/cron/trigger || die + fi chown cron:cron "${EROOT}"/var/spool/cron/trigger || die chmod go-rwx "${EROOT}"/var/spool/cron/trigger || die } |