#! /bin/bash

. ./pika-build-config.sh

# send debs to server
if [[ "$PIKA_BUILD_ARCH" == "i386" ]]
then
    rsync -azP --include './' --include '*_i386.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/nest-incoming/
else
    rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/nest-incoming/
fi