Revision 25423,
542 bytes
checked in by jdreed, 13 years ago
(diff) |
Support Oneiric; add Precise ("April is sooner than you think")
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | DEBIAN_CODES="lenny squeeze hardy lucid maverick natty oneiric" |
---|
3 | gettag() { |
---|
4 | case "$1" in |
---|
5 | lenny) |
---|
6 | echo "~debian5.0" |
---|
7 | ;; |
---|
8 | squeeze) |
---|
9 | echo "~debian6.0~0.3" |
---|
10 | ;; |
---|
11 | hardy) |
---|
12 | echo "~ubuntu8.04" |
---|
13 | ;; |
---|
14 | lucid) |
---|
15 | echo "~ubuntu10.04" |
---|
16 | ;; |
---|
17 | maverick) |
---|
18 | echo "~ubuntu10.10" |
---|
19 | ;; |
---|
20 | natty) |
---|
21 | echo "~ubuntu11.04" |
---|
22 | ;; |
---|
23 | oneiric) |
---|
24 | echo "~ubuntu11.10" |
---|
25 | ;; |
---|
26 | precise) |
---|
27 | echo "~ubuntu12.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.