diff --git a/scripts/_common.sh b/scripts/_common.sh index ce9d645..0e7a776 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,9 +6,9 @@ guacamole_version="1.5.4" -if [ "$debian_maj_version" -eq 11 ] ; then +if [ "$ynh_debian_version" == "bullseye" ] ; then tomcat_version="tomcat9" -elif [ "$debian_maj_version" -eq 12 ] ; then +elif [ "$ynh_debian_version" == "bookworm" ] ; then tomcat_version="tomcat10" fi