1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00

Make sure that the OS in the admin panel matches the actual system OS

This commit is contained in:
David Duque 2020-05-17 02:45:35 +01:00
parent 959281c635
commit 1513655bc4
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A
2 changed files with 4 additions and 2 deletions

View File

@ -180,8 +180,8 @@
<hr> <hr>
<footer> <footer>
<p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a>. (Debian <p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a>. (via __OSTAG__)
GNU/Linux 10)</p> </p>
</footer> </footer>
</div> <!-- /container --> </div> <!-- /container -->

View File

@ -18,6 +18,8 @@ if [ "$OS" != "Debian GNU/Linux 10 (buster)" -a "$OS" != "Ubuntu 20.04 LTS" ]; t
exit 1 exit 1
fi fi
sed -i "s/__OSTAG__/$OS/g" management/templates/index.html
# Check that we have enough memory. # Check that we have enough memory.
# #
# /proc/meminfo reports free memory in kibibytes. Our baseline will be 512 MB, # /proc/meminfo reports free memory in kibibytes. Our baseline will be 512 MB,