source: trunk/debathena/scripts/debian-versions.sh @ 25962

Revision 25962, 626 bytes checked in by jdreed, 11 years ago (diff)
Support jessie, remove wheezy prerelease tag
  • Property svn:executable set to *
Line 
1#!/bin/sh
2DEBIAN_CODES="squeeze wheezy lucid oneiric precise quantal raring"
3gettag() {
4    case "$1" in
5        squeeze)
6            echo "~debian6.0"
7            ;;
8        wheezy)
9            echo "~debian7.0"
10            ;;
11        jessie)
12            echo "~debian8.0~0.1"
13            ;;
14        hardy)
15            # Remove this at the end of April 2013
16            echo "~ubuntu8.04"
17            ;;
18        lucid)
19            echo "~ubuntu10.04"
20            ;;
21        oneiric)
22            echo "~ubuntu11.10"
23            ;;
24        precise)
25            echo "~ubuntu12.04"
26            ;;
27        quantal)
28            echo "~ubuntu12.10"
29            ;;
30        raring)
31            echo "~ubuntu13.04"
32            ;;
33        versions)
34            echo "$DEBIAN_CODES"
35            ;;
36        *)
37            echo "error"
38            return 1
39            ;;
40    esac
41}
Note: See TracBrowser for help on using the repository browser.