mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
update sync.sh
This commit is contained in:
parent
df30f91878
commit
a777f52bb5
1 changed files with 3 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
rsync --delete --delete-before -L -a archboot.com:release ~/public_html/
|
|
||||||
rsync --delete --delete-before -L -a archboot.com:pkg ~/public_html/
|
rsync --delete --delete-before -L -a archboot.com:pkg ~/public_html/
|
||||||
|
rsync --delete --delete-before -L -a archboot.com:release ~/public_html/
|
||||||
for i in aarch64 riscv64 x86_64; do
|
for i in aarch64 riscv64 x86_64; do
|
||||||
cd ~/public_html/release/${i}/
|
cd ~/public_html/release/${i}/ || exit 1
|
||||||
_DIR="$(ls -1rvd */ | head -n1)"
|
_DIR="$(echo */ | sed -e 's#.* ##g')"
|
||||||
ln -s "${_DIR}" latest
|
ln -s "${_DIR}" latest
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue