aptly is pogly
This commit is contained in:
parent
698bdd5eb1
commit
998fa221c2
10
ubuntu.sh
10
ubuntu.sh
@ -40,16 +40,16 @@ echo "Getting ubuntu main pool 64bit"
|
|||||||
# echo "Getting ubuntu universe pool 64bit"
|
# echo "Getting ubuntu universe pool 64bit"
|
||||||
# ../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./incoming
|
# ../ppp https://ppa.pika-os.com/dists/lunar/ubuntu/binary-amd64/Packages.gz http://archive.ubuntu.com/ubuntu/dists/lunar/universe/binary-amd64/Packages.xz http://archive.ubuntu.com/ubuntu/ ./incoming
|
||||||
|
|
||||||
if [ $(ls ./incoming/ | wc -l) -lt 1 ]; then
|
# if [ $(ls ./incoming | wc -l) -lt 1 ]; then
|
||||||
echo "Repos are synced"
|
# echo "Repos are synced"
|
||||||
exit 0
|
# exit 0
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# send debs to server
|
# send debs to server
|
||||||
rsync -azP ./incoming/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
rsync -azP ./incoming/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||||
|
|
||||||
# add debs to repo
|
# add debs to repo
|
||||||
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-ubuntu /srv/www/incoming'
|
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-ubuntu /srv/www/incoming/'
|
||||||
|
|
||||||
# publish the repo
|
# publish the repo
|
||||||
ssh ferreo@direct.pika-os.com 'aptly publish repo -batch -skip-contents -force-overwrite -component=,,,, pika-a
|
ssh ferreo@direct.pika-os.com 'aptly publish repo -batch -skip-contents -force-overwrite -component=,,,, pika-a
|
||||||
|
Loading…
Reference in New Issue
Block a user