Skip to content

Commit 4a09fc3

Browse files
committed
Small fixes due to mail notification changes.
1 parent 32fff25 commit 4a09fc3

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ END
14951495
)
14961496

14971497
send_mail="$HESTIA/web/inc/mail-wrapper.php"
1498-
cat $tmpfile | php $send_mail -s "Hestia Control Panel" $email
1498+
echo $content | php $send_mail -s "Hestia Control Panel" $email
14991499

15001500
# Congrats
15011501
echo '======================================================='
@@ -1507,7 +1507,6 @@ echo ' | _ | __/\__ \ |_| | (_| | |___| __/ '
15071507
echo ' |_| |_|\___||___/\__|_|\__,_|\____|_| '
15081508
echo
15091509
echo
1510-
cat $tmpfile
1511-
rm -f $tmpfile
1510+
echo $content
15121511

15131512
# EOF

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,7 +1443,7 @@ END
14431443
)
14441444

14451445
send_mail="$HESTIA/web/inc/mail-wrapper.php"
1446-
cat $tmpfile | php $send_mail -s "Hestia Control Panel" $email
1446+
echo $content | php $send_mail -s "Hestia Control Panel" $email
14471447

14481448
# Congrats
14491449
echo '======================================================='
@@ -1455,7 +1455,6 @@ echo ' | _ | __/\__ \ |_| | (_| | |___| __/ '
14551455
echo ' |_| |_|\___||___/\__|_|\__,_|\____|_| '
14561456
echo
14571457
echo
1458-
cat $tmpfile
1459-
rm -f $tmpfile
1458+
echo $content
14601459

14611460
# EOF

0 commit comments

Comments
 (0)