diff options
Diffstat (limited to 'raveos-calamares-theme/etc/calamares/modules/shellprocess-supporters.conf')
| -rw-r--r-- | raveos-calamares-theme/etc/calamares/modules/shellprocess-supporters.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/raveos-calamares-theme/etc/calamares/modules/shellprocess-supporters.conf b/raveos-calamares-theme/etc/calamares/modules/shellprocess-supporters.conf new file mode 100644 index 0000000..2f6c6d8 --- /dev/null +++ b/raveos-calamares-theme/etc/calamares/modules/shellprocess-supporters.conf @@ -0,0 +1,9 @@ +dontChroot: true +timeout: 20 + +script: + # RaveOS: fetch the fresh supporters list (if online). Validated steps: + # download -> check "var names" and "]" -> replace. On any error the + # packaged list stays (|| true). + - command: "curl -fsSL --max-time 10 https://page.rp1.hu/supporters.js?t=$(date +%s) -o /tmp/raveos_supporters.js && grep -q 'var names' /tmp/raveos_supporters.js && grep -q ']' /tmp/raveos_supporters.js && cp /tmp/raveos_supporters.js /etc/calamares/branding/raveos/supporters.js || true" + name: "Downloading supporters list..." |