mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
Use of secure remove
This commit is contained in:
parent
b2d0e25836
commit
3257e543a2
1 changed files with 4 additions and 4 deletions
|
@ -15,10 +15,10 @@
|
|||
ynh_mysql_drop_db "$dbname" 2>&1 || true
|
||||
ynh_mysql_drop_user "$dbuser" 2>&1 || true
|
||||
|
||||
# Delete app directory and configurations
|
||||
sudo rm -rf "/var/www/${app}"
|
||||
sudo rm -f "/etc/php5/fpm/pool.d/${app}.conf"
|
||||
[[ -n $domain ]] && sudo rm -f "/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
||||
# Delete app directory and configurations using secure remove
|
||||
SECURE_REMOVE '/var/www/${app}'
|
||||
REMOVE_NGINX_CONF
|
||||
REMOVE_FPM_CONF
|
||||
|
||||
# Remove GPG key
|
||||
sudo gpg --batch --delete-key --yes Rainloop
|
||||
|
|
Loading…
Reference in a new issue