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:
parent
44055144f8
commit
378de7b845
1 changed files with 5 additions and 2 deletions
|
@ -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}"
|
||||||
|
|
Loading…
Reference in a new issue