Merge lp:~vorlon/ubuntu-archive-scripts/clean-eol-series into lp:ubuntu-archive-scripts

Proposed by Steve Langasek
Status: Merged
Merged at revision: 277
Proposed branch: lp:~vorlon/ubuntu-archive-scripts/clean-eol-series
Merge into: lp:ubuntu-archive-scripts
Diff against target: 26 lines (+22/-0)
1 file modified
clean-eol-series (+22/-0)
To merge this branch: bzr merge lp:~vorlon/ubuntu-archive-scripts/clean-eol-series
Reviewer Review Type Date Requested Status
Ubuntu Package Archive Administrators Pending
Review via email: mp+382045@code.launchpad.net
To post a comment you must log in.
277. By Steve Langasek

Moar clean

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'clean-eol-series'
--- clean-eol-series 1970-01-01 00:00:00 +0000
+++ clean-eol-series 2020-04-10 00:57:10 +0000
@@ -0,0 +1,22 @@
1#!/bin/sh
2set -e
3
4# Automate the task of cleaning up files related to a release once it's
5# EOL.
6
7DIST="$1"
8
9if [ -z "$DIST" ]; then
10 echo "Usage: $0 DIST"
11 exit 1
12fi
13
14BASEDIR=/home/ubuntu-archive
15rm -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"

Subscribers

People subscribed via source and target branches