diff --git a/ubuntu.sh b/ubuntu.sh index 228271c..35419df 100644 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -40,13 +40,13 @@ echo "Getting ubuntu main 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 -if [ $(ls ./output/ | wc -l) -lt 1 ]; then +if [ $(ls ./incoming/ | wc -l) -lt 1 ]; then echo "Repos are synced" exit 0 fi # send debs to server -rsync -azP ./output/incoming/ ferreo@direct.pika-os.com:/srv/www/incoming/ +rsync -azP ./incoming/ ferreo@direct.pika-os.com:/srv/www/incoming/ # add debs to repo ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-ubuntu /srv/www/incoming'