--- branches/mage-next/src/common.functions.sh.in 2014/03/04 15:23:57 2611 +++ branches/mage-next/src/common.functions.sh.in 2014/03/04 15:24:40 2612 @@ -44,6 +44,14 @@ [ ${PIPESTATUS[$1]} -ne 0 ] && die "$2" } +showversion() +{ + local version="$(< @@MAGELIBDIR@@/version)" + + echo -en "Magellan Package Manager v${version} " + echo -e "-- Niels Rogalla (niro@magellan-linux.de)" +} + xtitle() { if [[ ${TERM} = xterm ]]