mirror of https://github.com/ceph/ceph
15 lines
297 B
Bash
Executable File
15 lines
297 B
Bash
Executable File
#!/bin/sh
|
|
|
|
raw=$1
|
|
dist=$2
|
|
|
|
[ "$dist" = "sid" ] && dver="$raw"
|
|
[ "$dist" = "squeeze" ] && dver="$raw~bpo60+1"
|
|
[ "$dist" = "lenny" ] && dver="$raw~bpo50+1"
|
|
[ "$dist" = "maverick" ] && dver="$raw$dist"
|
|
[ "$dist" = "lucid" ] && dver="$raw$dist"
|
|
[ "$dist" = "karmic" ] && dver="$raw$dist"
|
|
|
|
echo $dver
|
|
|