From 9fc7e8722e95ecdff7416414729f70ea1aef3157 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Thu, 13 Aug 2020 12:51:00 +0200 Subject: [PATCH] fixed msg for end of installation --- AppendCMS.sh | 2 +- AppendModule.sh | 2 +- installer.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/AppendCMS.sh b/AppendCMS.sh index 35a34ff..0e0063b 100644 --- a/AppendCMS.sh +++ b/AppendCMS.sh @@ -245,4 +245,4 @@ systemctl reload fail2ban ##-------## msg " Added CMS!" -for f in /etc/update-motd.d/51*; do [ -e "$f" ] && bash /etc/update-motd.d/51*; done \ No newline at end of file +for f in /etc/update-motd.d/51*; do bash $f; done \ No newline at end of file diff --git a/AppendModule.sh b/AppendModule.sh index b54c745..11dcc27 100644 --- a/AppendModule.sh +++ b/AppendModule.sh @@ -259,4 +259,4 @@ done ##-------## msg " Added Module!" -for f in /etc/update-motd.d/51*; do [ -e "$f" ] && bash /etc/update-motd.d/51*; done \ No newline at end of file +for f in /etc/update-motd.d/51*; do bash $f; done \ No newline at end of file diff --git a/installer.sh b/installer.sh index dd628ec..93357c1 100644 --- a/installer.sh +++ b/installer.sh @@ -585,4 +585,4 @@ systemctl reload sshd fail2ban postfix postfix@- ##-------## msg " Done installing!" -for f in /etc/update-motd.d/51*; do [ -e "$f" ] && bash /etc/update-motd.d/51*; done \ No newline at end of file +for f in /etc/update-motd.d/51*; do bash $f; done \ No newline at end of file