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

Revision 24929, 507 bytes checked in by geofft, 13 years ago (diff)
scripts: Add Natty to debian-versions.sh and sources.list.d
  • Property svn:executable set to *
RevLine 
[22739]1#!/bin/sh
[24921]2DEBIAN_CODES="lenny squeeze hardy karmic lucid maverick"
[22739]3gettag() {
4    case "$1" in
5        lenny)
[23471]6            echo "~debian5.0"
[22739]7            ;;
[23471]8        squeeze)
[24865]9            echo "~debian6.0~0.3"
[23471]10            ;;
[22739]11        hardy)
[22947]12            echo "~ubuntu8.04"
[22739]13            ;;
[23897]14        karmic)
[24142]15            echo "~ubuntu9.10"
[23897]16            ;;
[24318]17        lucid)
[24562]18            echo "~ubuntu10.04"
[24318]19            ;;
[24873]20        maverick)
21            echo "~ubuntu10.10"
22            ;;
[24929]23        natty)
24            echo "~ubuntu11.04"
25            ;;
[22739]26        versions)
27            echo "$DEBIAN_CODES"
28            ;;
29        *)
30            echo "error"
[23748]31            return 1
[22739]32            ;;
33    esac
34}
Note: See TracBrowser for help on using the repository browser.