mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
Use of generic $app value
This commit is contained in:
parent
ee269003bb
commit
78c09e62c9
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ app=rainloop
|
||||||
db_user=$app
|
db_user=$app
|
||||||
db_name=$app
|
db_name=$app
|
||||||
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
||||||
domain=$(sudo yunohost app setting rainloop domain)
|
domain=$(sudo yunohost app setting $app domain)
|
||||||
|
|
||||||
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
|
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
|
||||||
sudo rm -rf /var/www/$app
|
sudo rm -rf /var/www/$app
|
||||||
|
|
Loading…
Reference in a new issue