mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
hotfixes for css and domain deletion
This commit is contained in:
parent
637fac7bfe
commit
859798cb34
2 changed files with 3 additions and 4 deletions
|
@ -273,9 +273,8 @@ del_web_config() {
|
|||
|
||||
web_domains=$(grep DOMAIN $USER_DATA/web.conf |wc -l)
|
||||
if [ "$web_domains" -eq '0' ]; then
|
||||
sed -i "/.*\/$user\/.*$WEB_SYSTEM.conf/d" /etc/$1/conf.d/vesta.conf
|
||||
rm -f $HOMEDIR/$user/conf/web/$WEB_SYSTEM.conf
|
||||
rm -f $HOMEDIR/$user/conf/web/s$WEB_SYSTEM.conf
|
||||
sed -i "/.*\/$user\/.*$1.conf/d" /etc/$1/conf.d/vesta.conf
|
||||
rm -f $conf
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue