Use distro name as "version" when version is not specified

debian-cd
Raphaël Hertzog 10 years ago
parent 562923bb0c
commit 7fc5ff1946

@ -48,17 +48,14 @@ target_build_log() {
default_version() {
case "$1" in
kali|kali-current)
echo "daily"
;;
kali-rolling)
echo "rolling"
kali-*)
echo "${1%kali-}"
;;
kali-dev)
echo "dev"
kali)
echo "daily"
;;
*)
echo "$(date +%Y%m%d)"
echo "$1"
;;
esac
}

Loading…
Cancel
Save