summaryrefslogtreecommitdiffstats
path: root/scripts/ubuntu-release
blob: 3079cb1e1dabdd173235ac255b1ad989994d6e8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
DAPPER="$1"
FEISTY="$2"
GUTSY="$3"
HARDY="$4"

if [ -z "$DAPPER" ] || [ -z "$FEISTY" ] || [ -z "$GUTSY" ] || [ -z "$HARDY" ]; then
    echo "Usage: $0 DAPPER FEISTY GUTSY HARDY" >&2
    exit 1
fi

perl -pi -e 's/^2.6.15-dapper-security: pending.*/2.6.15-dapper-security: released ('"$DAPPER"')/' CVE*
perl -pi -e 's/^2.6.20-feisty-security: pending.*/2.6.20-feisty-security: released ('"$FEISTY"')/' CVE*
perl -pi -e 's/^2.6.22-gutsy-security: pending.*/2.6.22-gutsy-security: released ('"$GUTSY"')/' CVE*
perl -pi -e 's/^2.6.24-hardy-security: pending.*/2.6.24-hardy-security: released ('"$HARDY"')/' CVE*

© 2014-2024 Faster IT GmbH | imprint | privacy policy