#!/bin/sh

/usr/bin/rsync -ruptolgC --delete --delay-updates \
    --exclude 'themes/dpla/exhibitions-assets' \
    --exclude 'application/logs' \
    --exclude 'files' \
    /home/dpla/exhibitions /srv/www

if [ $? -ne 0 ]; then
	exit 1
fi

/usr/bin/rsync -ruptolgC --delete --delay-updates \
    /home/dpla/exhibitions-assets/ /srv/www/exhibitions/themes/dpla/exhibitions-assets


#!/bin/sh

/usr/bin/rsync -ruptolgC --delete --delay-updates \
    --exclude 'themes/dpla/exhibitions-assets' \
    --exclude 'application/logs' \
    --exclude 'files' \
    --exclude 'plugins/Dropbox/files' \
    /home/dpla/exhibitions /srv/www

if [ $? -ne 0 ]; then
	exit 1
fi

/usr/bin/rsync -ruptolgC --delete --delay-updates \
    /home/dpla/exhibitions-assets/ /srv/www/exhibitions/themes/dpla/exhibitions-assets


Fix Exhibitions deploy to ignore "dropbox" dir.
Fix Exhibitions deploy to ignore "dropbox" dir.

The plugins/Dropbox/files directory must remain in existence or
else errors will be generated when trying to access the page for
adding content.
