~ubuntu-archive/ubuntu-archive-scripts/trunk

« back to all changes in this revision

Viewing changes to clean-eol-series

  • Committer: Colin Watson
  • Date: 2015-10-15 09:57:28 UTC
  • Revision ID: cjwatson@canonical.com-20151015095728-5exdt6kidfu2w3g4
Run apt-mirror-snapshot under ionice -c3.

Show diffs side-by-side

added added

removed removed

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