repo-automation/fedora.sh

15 lines
995 B
Bash
Raw Normal View History

#!/bin/bash
2023-09-10 20:41:11 -05:00
set -e
apt-get update
apt-get install -y curl
apt-get install -y createrepo-c
cd /repo
curl $(curl -s https://api.github.com/repos/Legcord/Legcord/releases/latest | grep "browser_download_url.*Legcord-.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
curl $(curl -s https://api.github.com/repos/TheAssassin/AppImageLauncher/releases/latest | grep "browser_download_url.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
curl $(curl -s https://api.github.com/repos/th-ch/youtube-music/releases/latest | grep "browser_download_url.*youtube-music.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
curl $(curl -s https://api.github.com/repos/SchildiChat/schildichat-desktop/releases/latest | grep "browser_download_url.*schildichat-desktop-.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
curl $(curl -s https://api.github.com/repos/Vencord/Vesktop/releases/latest | grep "browser_download_url.*vesktop-.*x86_64.rpm" | cut -d : -f 2,3 | tr -d \") -LO -C -
createrepo_c .