Commit 3a28d1b0 authored by Joshua Tauberer's avatar Joshua Tauberer

showing the Mail-in-a-Box version using git describe was broken since dd6a8d99

parent 6f2226bf
......@@ -233,7 +233,7 @@ fi
if [ "$PRIVATE_IPV6" != "$PUBLIC_IPV6" ]; then
echo "Private IPv6 Address: $PRIVATE_IPV6"
fi
if [ -f .git ]; then
if [ -f /usr/bin/git ] && [ -d .git ]; then
echo "Mail-in-a-Box Version: " $(git describe)
fi
echo
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment