mirror of
https://github.com/YunoHost-Apps/webmin_ynh.git
synced 2024-09-03 20:36:08 +02:00
Update remove
fix error on removing user
This commit is contained in:
parent
a397df2cd8
commit
aa7f282cc7
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo delgroup tifred root
|
||||
adminuser=$(sudo yunohost app setting owncloud 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
|
||||
|
|
Loading…
Add table
Reference in a new issue