From 5d32fa16d36931a5006c97cb4e6acac917ae88b2 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Mon, 11 Feb 2013 18:34:29 +0200 Subject: [PATCH] fix for webmail password reset --- bin/v-search-domain-owner | 2 +- install/vst-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)"