ppp-sync/raven-oneapi.sh
Ward from fusion-voyager-3 526db509d1
Some checks failed
Process Radeon ROCm Repository (Raven) / build (push) Successful in 1m21s
Process Intel OneAPI Repository (Raven) / build (push) Failing after 2h37m2s
Process Intel Official Repository (Pigeon) / build (push) Successful in 1m8s
Process Steam Powered Repository (Parrot) / build (push) Successful in 56s
add cron job and oneapi
2024-08-01 01:22:57 +03:00

19 lines
592 B
Bash
Executable File

#! /bin/bash
set -e
# Give correct perms to Pika Package Processor
chmod 755 ./ppp
# External Intel OneAPI mirror
mkdir -p ./output
./ppp https://ppa.pika-os.com/dists/pika/raven/binary-amd64/Packages https://apt.repos.intel.com/oneapi/dists/all/main/binary-amd64/Packages https://apt.repos.intel.com/oneapi ./output/
# 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/raven-incoming/