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() { default_version() {
case "$1" in case "$1" in
kali|kali-current) kali-*)
echo "daily" echo "${1%kali-}"
;;
kali-rolling)
echo "rolling"
;; ;;
kali-dev) kali)
echo "dev" echo "daily"
;; ;;
*) *)
echo "$(date +%Y%m%d)" echo "$1"
;; ;;
esac esac
} }

Loading…
Cancel
Save