mirror of
https://github.com/YunoHost-Apps/simple-torrent_ynh.git
synced 2024-09-03 20:26:18 +02:00
Fix
This commit is contained in:
parent
ffb09c6e29
commit
f349ae8d4e
2 changed files with 7 additions and 7 deletions
|
@ -19,7 +19,7 @@
|
||||||
"name": "eric_G"
|
"name": "eric_G"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.2.8"
|
"yunohost": ">= 4.2.7"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
|
|
|
@ -55,12 +55,12 @@ ynh_secure_remove --file="$final_path"
|
||||||
# REMOVE DATA DIR
|
# REMOVE DATA DIR
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Remove the app data directory with the command `yunohost app remove --purge`
|
# # Remove the app data directory with the command `yunohost app remove --purge`
|
||||||
if [ "$YNH_APP_PURGE" == true ]
|
# if [ "$YNH_APP_PURGE" == true ]
|
||||||
then
|
# then
|
||||||
ynh_script_progression --message="Removing $app data directory..." --weight=2
|
# ynh_script_progression --message="Removing $app data directory..." --weight=2
|
||||||
ynh_secure_remove --file="$datadir"
|
# ynh_secure_remove --file="$datadir"
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE NGINX CONFIGURATION
|
# REMOVE NGINX CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue