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:
parent
8b9e56f560
commit
1a0ef79739
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Source app helpers
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
# We retrieve app parameters
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
domain=$(sudo yunohost app setting $app domain)
|
||||
domain=$(ynh_app_setting_get $app domain)
|
||||
|
||||
# Cleaning
|
||||
sudo rm -rf /var/www/$app
|
||||
|
|
Loading…
Add table
Reference in a new issue