File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,9 @@ if [ "$UPDATE" == "no" ]; then
9797 admin_account=" admin_$key "
9898 admin_password=$( generate_password)
9999
100- echo " Username: admin_$suffix " > ~ /.snappymail
100+ echo " Username: admin_$key " > ~ /.snappymail
101101 echo " Password: $admin_password " >> ~ /.snappymail
102- echo " Admin Panel key: admin_$key " >> ~ /.snappymail
102+ echo " Admin Panel key: admin_$suffix " >> ~ /.snappymail
103103
104104 tar -xzf ${SM_INSTALL_DIR} /${SM_FILE}
105105 # Get current version
@@ -125,7 +125,7 @@ if [ "$UPDATE" == "no" ]; then
125125 fi
126126 # Temporarily set the permissions to www-data
127127 chown -R www-data:www-data $SM_CONFIG_DIR /
128- php -f $HESTIA_COMMON_DIR /snappymail/install.php " admin_$suffix " " admin_$key " " $admin_password " " $r " " $BACKEND_PORT "
128+ php -f $HESTIA_COMMON_DIR /snappymail/install.php " admin_$key " " admin_$suffix " " $admin_password " " $r " " $BACKEND_PORT "
129129
130130 # Set the permissions back to hestiamail
131131 chown -R hestiamail:www-data $SM_CONFIG_DIR /
You can’t perform that action at this time.
0 commit comments