Skip to content

Instantly share code, notes, and snippets.

View Otus9051's full-sized avatar

Otus9051

View GitHub Profile
@Otus9051
Otus9051 / mirror.sh
Created June 7, 2024 05:16
Automated Mirroring Script, needs a version text on the origin mirror.
#!/bin/bash
ISO_URL="mirror/iso"
LOCAL_ISO_PATH="/var/www/mirrors/blend/isos/testing/blendOS.iso"
ISO_VERSION_URL="mirror/version"
LOCAL_VERSION_FILE="/var/www/mirrors/blend/isos/testing/version"
download_iso() {
rm -rf $LOCAL_ISO_PATH
wget -O "$LOCAL_ISO_PATH" "$ISO_URL"
wget -O "$LOCAL_VERSION_FILE" "$ISO_VERSION_URL"

Keybase proof

I hereby claim:

  • I am otus9051 on github.
  • I am otusb (https://keybase.io/otusb) on keybase.
  • I have a public key whose fingerprint is 7A56 FA1B 7AC1 26DF 62A3 F055 2C8F 496D 3887 EB2B

To claim this, I am signing this object: