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:
parent
d944b64973
commit
819265607e
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue