1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00

Update to use yunohost helpers

This commit is contained in:
polytan02 2017-01-18 00:25:20 +00:00
parent 8b9e56f560
commit 1a0ef79739

View file

@ -1,7 +1,11 @@
#!/bin/bash #!/bin/bash
# Source app helpers
source /usr/share/yunohost/helpers
# We retrieve app parameters
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
domain=$(sudo yunohost app setting $app domain) domain=$(ynh_app_setting_get $app domain)
# Cleaning # Cleaning
sudo rm -rf /var/www/$app sudo rm -rf /var/www/$app