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

Delete multimedia link before deleting sources

This commit is contained in:
Krakinou 2021-06-06 14:24:55 +02:00
parent 10c9fcb285
commit 900e69d645

View file

@ -39,14 +39,6 @@ ynh_remove_app_dependencies
ynh_secure_remove --file="/etc/cron.d/$app"
#=================================================
# REMOVE APP MAIN DIR
#=================================================
ynh_script_progression --message="Removing app main directory..." --weight=1
# Remove the app directory securely
ynh_secure_remove --file="$final_path"
#=================================================
# REMOVE MULTIMEDIA SYMBOLIC LINK
#=================================================
@ -55,6 +47,13 @@ ynh_script_progression --message="Removing Game folder..." --weight=1
# Remove the app directory securely
ynh_secure_remove --file="/home/yunohost.multimedia/share/Game"
#=================================================
# REMOVE APP MAIN DIR
#=================================================
ynh_script_progression --message="Removing app main directory..." --weight=1
# Remove the app directory securely
ynh_secure_remove --file="$final_path"
#=================================================
# REMOVE NGINX CONFIGURATION