1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00

Fix conditional framaforms to yakforms

This commit is contained in:
Salamandar 2024-07-13 17:30:27 +02:00
parent 64afd3f8c8
commit 3dd767301a

View file

@ -10,12 +10,17 @@ source /usr/share/yunohost/helpers
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
#=================================================
# ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
#=================================================
# Framaforms 2 Yakforms Backup
#=================================================
if ynh_compare_current_package_version --comparison lt --version 1.1~ynh1; then
upgrade_to_yakforms=true
else
upgrade_to_yakforms=false
fi
if [ "$upgrade_to_yakforms" = false ]; then
pushd "$install_dir"