Browse Source

added archstrike mirror to sync script

master
Johannes Findeisen 2 months ago
parent
commit
b58399a49f
3 changed files with 10 additions and 1 deletions
  1. +1
    -1
      alpine.sh
  2. +4
    -0
      archstrike.sh
  3. +5
    -0
      mirror.sh

+ 1
- 1
alpine.sh View File

@@ -10,7 +10,7 @@ src=rsync://rsync.alpinelinux.org/alpine/
dest=/data/mirrors/alpine/

# uncomment this to exclude old v2.x branches
exclude="--exclude v2.* --exclude v3.0 --exclude v3.1 --exclude v3.2 --exclude v3.2 --exclude v3.3 --exclude v3.4 --exclude v3.5 --exclude v3.6 --exclude=v3.7 --exclude=v3.8 --exclude=v3.9 --exclude aarch64/ --exclude armhf/ --exclude armv7/ --exclude ppc64le/ --exclude s390x/ --exclude x86/"
exclude="--exclude v2.* --exclude v3.0 --exclude v3.1 --exclude v3.2 --exclude v3.2 --exclude v3.3 --exclude v3.4 --exclude v3.5 --exclude v3.6 --exclude=v3.7 --exclude=v3.8 --exclude aarch64/ --exclude armhf/ --exclude armv7/ --exclude ppc64le/ --exclude s390x/ --exclude x86/"

mkdir -p "$dest"
/usr/bin/rsync \

+ 4
- 0
archstrike.sh View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh

rsync -auvPH --delete-after rsync://mirror.archstrike.org/archstrike /data/mirrors/archstrike/


+ 5
- 0
mirror.sh View File

@@ -15,6 +15,11 @@ date
/data/bin/arch.sh > /data/log/arch.log
echo "############################"

echo "syncing archstrike mirror!"
date
/data/bin/archstrike.sh > /data/log/archstrike.log
echo "############################"

echo "syncing artix mirror!"
date
/data/bin/artix.sh > /data/log/artix.log

Loading…
Cancel
Save