1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00
This commit is contained in:
Éric Gaspar 2023-12-19 19:00:15 +01:00
parent deb02e4a13
commit 6dacdc990a
2 changed files with 5 additions and 3 deletions

View file

@ -30,7 +30,6 @@ path="$new_path"
ynh_add_config --template="yoursite.aliases.drushrc.php" --destination="$install_dir/.drush/$app.aliases.drushrc.php"
#=================================================
# END OF SCRIPT
#=================================================

View file

@ -9,14 +9,17 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
ynh_script_progression --message="Checking version..." --weight=1
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
# If db_name doesn't exist, create it
if [ -z "${db_name:-}" ]; then
db_name=$(ynh_sanitize_dbid --db_name=$app)