-
Notifications
You must be signed in to change notification settings - Fork 2
/
get-betas
executable file
·33 lines (33 loc) · 2.81 KB
/
get-betas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
if [ -f ./sync-dailies.config ]; then
. sync-dailies.config
else
echo "Config not found. Please enter current cycle with this:"
echo "sync-dailies newconfig <codename> <releasever>"
exit 1
fi
if [ -d ./${RELEASE}-beta ]; then
cd ${RELEASE}-beta
else
mkdir ${RELEASE}-beta
cd ${RELEASE}-beta
fi
if [ "${MIRROR}" = "" ]; then
MIRROR=http://cdimage.ubuntu.com
fi
zsync ${MIRROR}/edubuntu/releases/${CODENAME}/beta/edubuntu-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../edubuntu/${CODENAME}-desktop-amd64.iso
zsync ${MIRROR}/edubuntu/releases/${CODENAME}/beta/edubuntu-${RELEASE}-beta-preinstalled-desktop-arm64+raspi.img.xz.zsync -i ../edubuntu/${CODENAME}-preinstalled-desktop-arm64+raspi.img.xz
zsync ${MIRROR}/kubuntu/releases/${CODENAME}/beta/kubuntu-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../kubuntu/${CODENAME}-desktop-amd64.iso
zsync ${MIRROR}/lubuntu/releases/${CODENAME}/beta/lubuntu-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../lubuntu/${CODENAME}-desktop-amd64.iso
zsync http://releases.ubuntu.com/${CODENAME}/ubuntu-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../ubuntu/${CODENAME}-desktop-amd64.iso
zsync ${MIRROR}/ubuntu/releases/${CODENAME}/beta/ubuntu-${RELEASE}-beta-preinstalled-desktop-arm64+raspi.img.xz.zsync -i ../ubuntu/${CODENAME}-preinstalled-desktop-arm64+raspi.img.xz
zsync ${MIRROR}/ubuntu-budgie/releases/${CODENAME}/beta/ubuntu-budgie-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../ubuntu-budgie/${CODENAME}-desktop-amd64.iso
zsync ${MIRROR}/ubuntucinnamon/releases/${CODENAME}/beta/ubuntucinnamon-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../ubuntucinnamon/${CODENAME}-desktop-amd64.iso
zsync ${MIRROR}/ubuntukylin/releases/${CODENAME}/beta/ubuntukylin-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../ubuntukylin/${CODENAME}-desktop-amd64.iso
zsync ${MIRROR}/ubuntu-mate/releases/${CODENAME}/beta/ubuntu-mate-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../ubuntu-mate/${CODENAME}-desktop-amd64.iso
zsync http://releases.ubuntu.com/${CODENAME}/beta/ubuntu-${RELEASE}-beta-server-amd64.iso.zsync -i ../ubuntu-server/${CODENAME}-live-server-amd64.iso
zsync ${MIRROR}/releases/${CODENAME}/beta/ubuntu-${RELEASE}--beta-preinstalled-server-arm64+raspi.img.xz.zsync -i ../ubuntu-server/${CODENAME}-preinstalled-server-arm64+raspi.img.xz1
zsync ${MIRROR}/ubuntustudio/releases/${CODENAME}/beta/ubuntustudio-${RELEASE}-beta-dvd-amd64.iso.zsync -i ../ubuntustudio/${CODENAME}-dvd-amd64.iso
zsync ${MIRROR}/ubuntu-unity/releases/${CODENAME}/beta/ubuntu-unity-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../ubuntu-unity/${CODENAME}-desktop-amd64.iso
zsync ${MIRROR}/xubuntu/releases/${CODENAME}/beta/xubuntu-${RELEASE}-beta-desktop-amd64.iso.zsync -i ../xubuntu/${CODENAME}-desktop-amd64.iso
zsync ${MIRROR}/xubuntu/releases/${CODENAME}/beta/xubuntu-${RELEASE}-beta-minimal-amd64.iso.zsync -i ../xubuntu/${CODENAME}-minimal-amd64.iso