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

Revision 25949, 586 bytes checked in by jdreed, 11 years ago (diff)
Raring releases tomorrow, add it to DEBIAN_CODES
  • Property svn:executable set to *
RevLine 
[22739]1#!/bin/sh
[25949]2DEBIAN_CODES="squeeze wheezy lucid oneiric precise quantal raring"
[22739]3gettag() {
4    case "$1" in
[23471]5        squeeze)
[25591]6            echo "~debian6.0"
[23471]7            ;;
[25445]8        wheezy)
[25732]9            echo "~debian7.0~0.4"
[25445]10            ;;
[22739]11        hardy)
[25787]12            # Remove this at the end of April 2013
[22947]13            echo "~ubuntu8.04"
[22739]14            ;;
[24318]15        lucid)
[24562]16            echo "~ubuntu10.04"
[24318]17            ;;
[25319]18        oneiric)
[25423]19            echo "~ubuntu11.10"
[25319]20            ;;
[25423]21        precise)
[25466]22            echo "~ubuntu12.04"
[25423]23            ;;
[25659]24        quantal)
[25788]25            echo "~ubuntu12.10"
[25659]26            ;;
[25913]27        raring)
[25949]28            echo "~ubuntu13.04"
[25913]29            ;;
[22739]30        versions)
31            echo "$DEBIAN_CODES"
32            ;;
33        *)
34            echo "error"
[23748]35            return 1
[22739]36            ;;
37    esac
38}
Note: See TracBrowser for help on using the repository browser.