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:
parent
140027c092
commit
2e625eb58e
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue