Update ubuntu.sh

This commit is contained in:
ferrreo 2023-09-04 20:10:58 +01:00 committed by GitHub
parent e290ce8a05
commit 5511438275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ mkdir -p ./output
find . -name \*.deb -exec cp -vf {} ./output \;
# Sign the packages
dpkg-sig --sign builder ./output/*.deb
for f in ./output/*.deb; do dpkg-sig --sign builder "$f"; done
# Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
@ -131,7 +131,7 @@ wget -nv https://launchpad.net/ubuntu/+archive/primary/+files/reprepro_5.3.0-1.4
apt install -y ./reprepro_5.3.0-1.4_amd64.deb
# Add the new package to the repo
reprepro -C ubuntu -V --basedir ./output/repo/ includedeb lunar ./output/*.deb
for f in ./output/*.deb; do reprepro -C ubuntu -V --basedir ./output/repo/ includedeb lunar ./output/*.deb "$f"; done
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/