diff --git a/bin/v-search-domain-owner b/bin/v-search-domain-owner index 21ed0b098..453fdfdca 100755 --- a/bin/v-search-domain-owner +++ b/bin/v-search-domain-owner @@ -37,7 +37,7 @@ case $type in esac -owner=$(grep "DOMAIN='$domain'" $conf | head -n 1 | cut -f7 -d '/') +owner=$(grep -H "DOMAIN='$domain'" $conf | head -n 1 | cut -f7 -d '/') if [ -z "$owner" ]; then exit $E_NOTEXIST fi diff --git a/install/vst-install.sh b/install/vst-install.sh index e8cfb7b88..4d053b823 100644 --- a/install/vst-install.sh +++ b/install/vst-install.sh @@ -573,7 +573,7 @@ wget $CHOST/$VERSION/httpd-webmail.conf -O /etc/httpd/conf.d/roundcubemail.conf wget $CHOST/$VERSION/roundcube-main.conf -O /etc/roundcubemail/main.inc.php wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcubemail/db.inc.php wget $CHOST/$VERSION/roundcube-driver.php -O \ - /usr/share/roundcubemail/plugins/password/vesta.php + /usr/share/roundcubemail/plugins/password/drivers/vesta.php wget $CHOST/$VERSION/roundcube-pw.conf -O \ /usr/share/roundcubemail/plugins/password/config.inc.php r="$(gen_pass)"