~brian-murray/ubuntu-archive-scripts/remove-vintage-packages

1
2
3
4
5
6
7
8
9
10
#! /bin/sh
set -e

BRANCH="$HOME/sync-blacklist"
SOURCE="$BRANCH/sync-blacklist.txt"
DESTINATION="$HOME/public_html/sync-blacklist.txt"

bzr pull -q --overwrite -d "$BRANCH"
cp -a "$SOURCE" "$DESTINATION.new"
mv "$DESTINATION.new" "$DESTINATION"