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

This commit is contained in:
Joshua Tauberer 2015-06-18 07:35:13 -04:00
parent 6f2226bfcd
commit 3a28d1b073
1 changed files with 1 additions and 1 deletions

View File

@ -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