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:
parent
10c9fcb285
commit
900e69d645
1 changed files with 7 additions and 8 deletions
|
@ -39,14 +39,6 @@ ynh_remove_app_dependencies
|
||||||
|
|
||||||
ynh_secure_remove --file="/etc/cron.d/$app"
|
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
|
# REMOVE MULTIMEDIA SYMBOLIC LINK
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -55,6 +47,13 @@ ynh_script_progression --message="Removing Game folder..." --weight=1
|
||||||
# Remove the app directory securely
|
# Remove the app directory securely
|
||||||
ynh_secure_remove --file="/home/yunohost.multimedia/share/Game"
|
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
|
# REMOVE NGINX CONFIGURATION
|
||||||
|
|
Loading…
Reference in a new issue