#!/bin/bash # # Push changes to the local TMI repo to the public repo. We really should be # using launchpad to host the public version of the TMI repo. PUBLICSERVER="$1" [ -z "$PUBLICSERVER" ] && PUBLICSERVER=oss.titaniummirror.com echo "Updating APT repo on $PUBLICSERVER" rsync -avz --delete /var/local/aptrepo/ $PUBLICSERVER:/var/local/aptrepo/