mirror of
https://github.com/ceph/ceph
synced 2024-12-16 16:39:21 +00:00
f377168905
Signed-off-by: Sage Weil <sage@newdream.net>
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
|
|
|