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 *
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)
[25962]9            echo "~debian7.0"
[25445]10            ;;
[25962]11        jessie)
12            echo "~debian8.0~0.1"
13            ;;
[22739]14        hardy)
[25787]15            # Remove this at the end of April 2013
[22947]16            echo "~ubuntu8.04"
[22739]17            ;;
[24318]18        lucid)
[24562]19            echo "~ubuntu10.04"
[24318]20            ;;
[25319]21        oneiric)
[25423]22            echo "~ubuntu11.10"
[25319]23            ;;
[25423]24        precise)
[25466]25            echo "~ubuntu12.04"
[25423]26            ;;
[25659]27        quantal)
[25788]28            echo "~ubuntu12.10"
[25659]29            ;;
[25913]30        raring)
[25949]31            echo "~ubuntu13.04"
[25913]32            ;;
[22739]33        versions)
34            echo "$DEBIAN_CODES"
35            ;;
36        *)
37            echo "error"
[23748]38            return 1
[22739]39            ;;
40    esac
41}
Note: See TracBrowser for help on using the repository browser.