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

downward compatibility

This commit is contained in:
Krakinou 2023-08-20 16:50:19 +02:00
parent d944b64973
commit 819265607e

View file

@ -15,6 +15,18 @@ source /usr/share/yunohost/helpers
upgrade_type=$(ynh_check_app_version_changed)
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
#=================================================
ynh_script_progression --message="Downward Compatibility checks..." --weight=1
#move from /opt/yunohost to /var/www : symbolic link will be remade by multimedia dir
if ynh_compare_current_package_version --comparison lt --version 1.15.0~ynh3; then
if [ -L /home/yunohost.multimedia/share/Game ]; then
#ynh_secure_remove --file="/home/yunohost.multimedia/share/Game"
rm /home/yunohost.multimedia/share/Game #ynh_secure_remove does not remove link
fi
fi
#=================================================
# STANDARD UPGRADE STEPS
#=================================================