1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
set -e
# Automate the task of cleaning up files related to a release once it's
# EOL.
DIST="$1"
if [ -z "$DIST" ]; then
echo "Usage: $0 DIST"
exit 1
fi
BASEDIR=/home/ubuntu-archive
rm -rfv "$BASEDIR"/proposed-migration/data/"$DIST" \
"$BASEDIR"/proposed-migration/data/"$DIST"-proposed \
"$BASEDIR"/proposed-migration/output/"$DIST" \
"$BASEDIR"/public_html/germinate-output/*."$DIST" \
"$BASEDIR"/public_html/proposed-migration/"$DIST" \
"$BASEDIR"/public_html/proposed-migration/"$DIST"_uninst_full.txt \
"$BASEDIR"/public_html/proposed-migration/"$DIST"_uninst.txt \
"$BASEDIR"/public_html/proposed-migration/update_output/"$DIST"
|