summaryrefslogtreecommitdiff
path: root/virtual/miller-base
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-05-03 17:07:12 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2020-05-03 17:07:12 +0100
commit388d12c0c20ebd86f0c93d2f2097671da7a8abc7 (patch)
tree2eaeb99a2739ed542aad9e81cddef4bc90dd0d62 /virtual/miller-base
parentMore sensible control over scripts and deps (diff)
downloadportage-388d12c0c20ebd86f0c93d2f2097671da7a8abc7.tar.bz2
portage-388d12c0c20ebd86f0c93d2f2097671da7a8abc7.tar.xz
portage-388d12c0c20ebd86f0c93d2f2097671da7a8abc7.zip
Use cron.period folders for updates
Diffstat (limited to 'virtual/miller-base')
-rw-r--r--virtual/miller-base/Manifest2
-rw-r--r--virtual/miller-base/miller-base-10.9.1.ebuild (renamed from virtual/miller-base/miller-base-10.9.ebuild)12
2 files changed, 9 insertions, 5 deletions
diff --git a/virtual/miller-base/Manifest b/virtual/miller-base/Manifest
index 986043d..90f4912 100644
--- a/virtual/miller-base/Manifest
+++ b/virtual/miller-base/Manifest
@@ -12,4 +12,4 @@ AUX update-install2 683 BLAKE2B 22d9b0ee5bf4af8f0ababf8228d1d0b72f52d63eb9c513fa
AUX update.portage.cron-2 48 BLAKE2B 3dfc6ccfc76500300af4c08eab46f309817fe1b50d0aceaad14e05f73fec23146eb9dcedb53c3db78b222f80530fde7533052253fad80eca0f9c6831ad939955 SHA512 431d8ed50c2fc6d4b0e9e3550e4ba5d8320595961c6dab14820ae7b5abd39bf63cb6afb99724f2b4aebb2c0cf14b46927d2abecb6d9509db158000b8ea6a97b8
AUX weekly-av-scan.cron 1591 BLAKE2B 8262ff9f7c8aadf503b8fbf0c283f87d619f1ee174bd52762cd421064e3ef6ad301dbfbfdf557334e76c11adc963976417c3275e8c1167d7c609cbdda201ead9 SHA512 6d5ca06bfdb020d1435b51837b4f2f8676cab808e7ffdf39be40e822858f0b7150d16d5fce991fab026c236fd3a32e1ff9a0f7eca62a679e77d1799ed15e2366
AUX write-new-updates 479 BLAKE2B f5ae0a84219a9d60ba3af43000c0ed1489d26868c51893a40fe0a40da80fcf721bdc540d07c17021cc06a216908b7ddac7736dfab9783853de7a75315705cf62 SHA512 b84f0bc0259c0986f136282475462165eb69c6bb766640089f64027233f9bb4faf4ae91b2aa0227791e0df542b75a5c50ab9a3bc33d8162a3ed53273cb24e182
-EBUILD miller-base-10.9.ebuild 3823 BLAKE2B 2994305ea7c05943ee5b7043999de6a1e34daff929d7110814b341a444a3f3f667b00b9ec529db883362f1fb039f4d3fa9fefc329c1444a7b0cce4d5a415258e SHA512 cac6cdb37f3e87e142d8e705471937ad9cbe96a59466f09bb9d859a056c10fa1aee95f1fe1a23c2e88a60229a3c5d1a30ae2a444322bfbd0e2950b642a7d808d
+EBUILD miller-base-10.9.1.ebuild 3913 BLAKE2B 292afba9743a1c3f3fddf1276d224d22dce88e216910573bdaacc82a1f306b3efc7602fa86b14faefc625d2c920addf577368d4fb4edfece2e2fdf8ac6a464b2 SHA512 acbf175ba094c788bc42cb9feaeb07c3788b857c02b5fdac19bf0313732e61577da9c02af7e432445a47b8b3e8032a79e74e4b66d3a97b89301fcfeb236f0d00
diff --git a/virtual/miller-base/miller-base-10.9.ebuild b/virtual/miller-base/miller-base-10.9.1.ebuild
index 821979d..fd2f972 100644
--- a/virtual/miller-base/miller-base-10.9.ebuild
+++ b/virtual/miller-base/miller-base-10.9.1.ebuild
@@ -98,10 +98,14 @@ src_install() {
use !ischroot && newexe "${FILESDIR}"/kernels-cleaner kernels-cleaner
use !minimal && newexe "${FILESDIR}"/hardlink-ccache hardlink-ccache
- if [ -n "${UPDATETIME}" ]; then
- mkdir -p ${D}/etc/cron.d
- echo "${UPDATETIME} root /sbin/gentoo-portage-update" > ${D}/etc/cron.d/gentoo-portage-update
- exeinto /sbin
+ if [[ -n ${UPDATETIME} ]]; then
+ if [[ ${UPDATETIME} = @* ]]; then
+ exeinto /etc/cron.${UPDATETIME#"@"}
+ else
+ mkdir -p ${D}/etc/cron.d
+ echo "${UPDATETIME} root /sbin/gentoo-portage-update" > ${D}/etc/cron.d/gentoo-portage-update
+ exeinto /sbin
+ fi
else
use nohourlyupdate && exeinto /etc/cron.daily
use !nohourlyupdate && exeinto /etc/cron.hourly