Преглед изворни кода

fix for webmail password reset

Serghey Rodin пре 13 година
родитељ
комит
5d32fa16d3
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      bin/v-search-domain-owner
  2. 1 1
      install/vst-install.sh

+ 1 - 1
bin/v-search-domain-owner

@@ -37,7 +37,7 @@ case $type in
 esac
 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
 if [ -z "$owner" ]; then
     exit $E_NOTEXIST
     exit $E_NOTEXIST
 fi
 fi

+ 1 - 1
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-main.conf -O /etc/roundcubemail/main.inc.php
 wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcubemail/db.inc.php
 wget $CHOST/$VERSION/roundcube-db.conf -O /etc/roundcubemail/db.inc.php
 wget $CHOST/$VERSION/roundcube-driver.php -O \
 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 \
 wget $CHOST/$VERSION/roundcube-pw.conf -O \
     /usr/share/roundcubemail/plugins/password/config.inc.php
     /usr/share/roundcubemail/plugins/password/config.inc.php
 r="$(gen_pass)"
 r="$(gen_pass)"