repo-automation/fedora.sh
2024-03-18 18:57:26 -05:00

13 lines
827 B
Bash
Executable file

#!/bin/bash
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/ArmCord/ArmCord/releases/latest | grep "browser_download_url.*ArmCord-.*.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 -
createrepo_c .