13 lines
493 B
Bash
13 lines
493 B
Bash
#! /bin/bash
|
|
set -e
|
|
|
|
### In the Case of a major mishap we wipe the amdgpu pool clean and re run all repos
|
|
# Pull down existing ppa repo db files etc
|
|
mkdir -p ./output/repo
|
|
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
|
|
|
# Remove our All package from the pool
|
|
reprepro -C amdgpu -V --basedir ./output/repo/ removefilter lunar 'Package (% *)'
|
|
|
|
# Push the updated ppa repo to the server
|
|
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ |