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

Revision 24318, 554 bytes checked in by broder, 14 years ago (diff)
Now that DebianImportFreeze has passed, prep for building Lucid packages.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2DEBIAN_CODES="etch lenny squeeze hardy intrepid jaunty karmic"
3gettag() {
4    case "$1" in
5        etch)
6            echo "~debian4.0"
7            ;;
8        lenny)
9            echo "~debian5.0"
10            ;;
11        squeeze)
12            echo "~debian6.0~0.2"
13            ;;
14        hardy)
15            echo "~ubuntu8.04"
16            ;;
17        intrepid)
18            echo "~ubuntu8.10"
19            ;;
20        jaunty)
21            echo "~ubuntu9.04"
22            ;;
23        karmic)
24            echo "~ubuntu9.10"
25            ;;
26        lucid)
27            echo "~ubuntu10.04~0.1"
28            ;;
29        versions)
30            echo "$DEBIAN_CODES"
31            ;;
32        *)
33            echo "error"
34            return 1
35            ;;
36    esac
37}
Note: See TracBrowser for help on using the repository browser.