mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
15 lines
297 B
Bash
15 lines
297 B
Bash
|
#!/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
|
||
|
|