1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jappix_ynh.git synced 2024-09-03 19:26:19 +02:00

Update remove

This commit is contained in:
frju365 2017-03-08 23:32:42 +01:00 committed by GitHub
parent 44055144f8
commit 378de7b845

View file

@ -1,9 +1,12 @@
#!/bin/bash #!/bin/bash
app="jappix" set -u
source /usr/share/yunohost/helpers
app=$YNH_APP_INSTANCE_NAME
# Retrieve arguments # Retrieve arguments
domain=$(sudo yunohost app setting "$app" domain) domain=$(ynh_app_setting_get "$app" domain)
# Remove sources and configuration # Remove sources and configuration
sudo rm -rf "/var/www/${app}" sudo rm -rf "/var/www/${app}"