#!/bin/sh if [ -d /usr/local/share/z-push/.git ] ; then cd /usr/local/share/z-push git describe --always cd - else echo "unknown version" fi