ppp-sync/release.sh
Ward Nakchbandi (Cosmic Fusion) 5bd806d7ff
2023-08-23 14:20:30 +03:00

21 lines
681 B
Bash
Executable File

#! /bin/bash
set- e
# Sign the packages
#dpkg-sig --sign builder ./output/*.deb
# Pull down existing ppa repo db files etc
#rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
apt install -y tree apt-mirror
apt-mirror -c http://repo.radeon.com/amdgpu/5.5.3/ubuntu
rsync -av --exclude '20.04*.deb' /var/spool/apt-mirror/mirror/repo.radeon.com/amdgpu/5.5.3/ubuntu ./output/amdgpu
mkdir -p ./output/amdgpu
tree ./output/amdgpu
# Add the new package to the repo
#reprepro -V --basedir ./output/repo/ includedeb lunar ./output/*.deb
# Push the updated ppa repo to the server
#rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/