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:
parent
70c508eb98
commit
0c69a3420e
1 changed files with 7 additions and 2 deletions
|
@ -10,12 +10,17 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
# 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
|
# Framaforms 2 Yakforms Backup
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
if ynh_compare_current_package_version --comparison lt --version 1.1~ynh1; then
|
||||||
upgrade_to_yakforms=true
|
upgrade_to_yakforms=true
|
||||||
|
else
|
||||||
|
upgrade_to_yakforms=false
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$upgrade_to_yakforms" = false ]; then
|
if [ "$upgrade_to_yakforms" = false ]; then
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
|
|
Loading…
Reference in a new issue