#!/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