From 998fa221c22b0d6533478dff92495bfcfe2270dc Mon Sep 17 00:00:00 2001 From: ferrreo Date: Wed, 6 Sep 2023 18:33:22 +0100 Subject: [PATCH] aptly is pogly --- ubuntu.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ubuntu.sh b/ubuntu.sh index 35419df..98bbb90 100644 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -40,16 +40,16 @@ 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 ./incoming/ | wc -l) -lt 1 ]; then -echo "Repos are synced" - exit 0 -fi +# if [ $(ls ./incoming | wc -l) -lt 1 ]; then +# echo "Repos are synced" +# exit 0 +# fi # send debs to server 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' +ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-ubuntu /srv/www/incoming/' # publish the repo ssh ferreo@direct.pika-os.com 'aptly publish repo -batch -skip-contents -force-overwrite -component=,,,, pika-a