Make sure that the OS in the admin panel matches the actual system OS
This commit is contained in:
parent
959281c635
commit
1513655bc4
|
@ -180,8 +180,8 @@
|
|||
<hr>
|
||||
|
||||
<footer>
|
||||
<p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a>. (Debian
|
||||
GNU/Linux 10)</p>
|
||||
<p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a>. (via __OSTAG__)
|
||||
</p>
|
||||
</footer>
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ if [ "$OS" != "Debian GNU/Linux 10 (buster)" -a "$OS" != "Ubuntu 20.04 LTS" ]; t
|
|||
exit 1
|
||||
fi
|
||||
|
||||
sed -i "s/__OSTAG__/$OS/g" management/templates/index.html
|
||||
|
||||
# Check that we have enough memory.
|
||||
#
|
||||
# /proc/meminfo reports free memory in kibibytes. Our baseline will be 512 MB,
|
||||
|
|
Loading…
Reference in New Issue