2024-07-31 16:34:27 +02:00
|
|
|
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Give correct perms to Pika Package Processor
|
|
|
|
chmod 755 ./ppp
|
|
|
|
|
2024-08-24 20:04:45 +02:00
|
|
|
# External steam-powered mirror -added vscode and discord here because I am lazy
|
2024-07-31 16:34:27 +02:00
|
|
|
mkdir -p ./output
|
|
|
|
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-i386/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-i386/Packages https://repo.steampowered.com/steam/ ./output/
|
|
|
|
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://repo.steampowered.com/steam/dists/stable/steam/binary-amd64/Packages https://repo.steampowered.com/steam/ ./output/
|
2024-08-24 20:04:45 +02:00
|
|
|
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://packages.microsoft.com/repos/code/dists/stable/main/binary-amd64/Packages https://packages.microsoft.com/repos/code/ ./output/
|
|
|
|
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://palfrey.github.io/discord-apt/debian/Packages https://palfrey.github.io/discord-apt/debian/ ./output/
|
2024-08-29 22:38:39 +02:00
|
|
|
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://ppa.launchpadcontent.net/linneris/xivlauncher-core-stable/ubuntu/dists/noble/main/binary-amd64/Packages.xz https://ppa.launchpadcontent.net/linneris/xivlauncher-core-stable/ubuntu/ ./output/
|
2024-09-27 23:27:46 +02:00
|
|
|
./ppp https://ppa.pika-os.com/dists/pika/parrot/binary-amd64/Packages https://brave-browser-apt-release.s3.brave.com/dists/stable/main/binary-amd64/Packages https://brave-browser-apt-release.s3.brave.com/ ./output/
|
2024-07-31 16:34:27 +02:00
|
|
|
# Check if any updates have been downloaded
|
|
|
|
if [ $(ls ./output/ | wc -l) -lt 1 ]; then
|
|
|
|
echo "Repos are synced"
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
# send debs to server
|
|
|
|
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/parrot-incoming/
|