mirror of
https://github.com/YunoHost-Apps/webmin_ynh.git
synced 2024-09-03 20:36:08 +02:00
Update remove
fix errors
This commit is contained in:
parent
aa7f282cc7
commit
1503a5d125
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
adminuser=$(sudo yunohost app setting owncloud admin_user)
|
||||
adminuser=$(sudo yunohost app setting webmin admin_user)
|
||||
|
||||
sudo delgroup $adminuser root
|
||||
sudo apt-get remove --purge webmin
|
||||
sudo rm -r /etc/apt/sources.list.d/webmin.list
|
||||
sudo rm -f /etc/nginx/conf.d/$domain.d/owncloud.conf
|
||||
sudo rm -f /etc/nginx/conf.d/$domain.d/webmin.conf
|
||||
sudo service nginx reload
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue