1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/guacamole_ynh.git synced 2024-09-03 19:16:03 +02:00

Fix debian variables

This commit is contained in:
Thomas 2024-06-11 21:17:51 +02:00 committed by GitHub
parent 140027c092
commit 2e625eb58e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,9 +6,12 @@
guacamole_version="1.5.4"
if [ "$ynh_debian_version" == "bullseye" ] ; then
debian_maj_version=$(sed 's/\..*//' /etc/debian_version)
if [ "$debian_maj_version" -eq 11 ] ; then
tomcat_version="tomcat9"
elif [ "$ynh_debian_version" == "bookworm" ] ; then
elif [ "$debian_maj_version" -eq 12 ] ; then
tomcat_version="tomcat10"
fi