Get webmail database password
This commit is contained in:
parent
02e1b92f6e
commit
7908b831c6
|
@ -3215,6 +3215,17 @@ function get_mariadb_gnusocial_admin_password {
|
|||
fi
|
||||
}
|
||||
|
||||
function get_mariadb_webmail_admin_password {
|
||||
if [ -f /home/$MY_USERNAME/README ]; then
|
||||
if grep -q "MariaDB webmail admin password" /home/$MY_USERNAME/README; then
|
||||
WEBMAIL_ADMIN_PASSWORD=$(cat /home/$MY_USERNAME/README | grep "MariaDB webmail admin password" | awk -F ':' '{print $2}' | sed 's/^ *//')
|
||||
fi
|
||||
if grep -q "Webmail administrator password" /home/$MY_USERNAME/README; then
|
||||
WEBMAIL_ADMIN_PASSWORD=$(cat /home/$MY_USERNAME/README | grep "Webmail administrator password" | awk -F ':' '{print $2}' | sed 's/^ *//')
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
function get_mariadb_rss_reader_admin_password {
|
||||
if [ -f /home/$MY_USERNAME/README ]; then
|
||||
if grep -q "RSS reader admin password" /home/$MY_USERNAME/README; then
|
||||
|
@ -8862,6 +8873,7 @@ function install_webmail {
|
|||
cd $WEBMAIL_PATH
|
||||
cd ..
|
||||
git_clone $WEBMAIL_REPO webmail
|
||||
cd $WEBMAIL_PATH
|
||||
git checkout $WEBMAIL_COMMIT -b $WEBMAIL_COMMIT
|
||||
if ! grep -q "Webmail commit" $COMPLETION_FILE; then
|
||||
echo "Webmail commit:$WEBMAIL_COMMIT" >> $COMPLETION_FILE
|
||||
|
|
Loading…
Reference in New Issue