Revision 25319,
491 bytes
checked in by jdreed, 13 years ago
(diff) |
Initial oneiric support
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | DEBIAN_CODES="lenny squeeze hardy lucid maverick natty" |
---|
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~0.1" |
---|
25 | ;; |
---|
26 | versions) |
---|
27 | echo "$DEBIAN_CODES" |
---|
28 | ;; |
---|
29 | *) |
---|
30 | echo "error" |
---|
31 | return 1 |
---|
32 | ;; |
---|
33 | esac |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.