X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/651e1c201721a5903d0136d937c234166232c8e3..8ab4cd2dbb0d51048f01e92a712e61d5da4fa120:/install.sh diff --git a/install.sh b/install.sh index 13ce97a..1205c0c 100755 --- a/install.sh +++ b/install.sh @@ -1,6 +1,9 @@ #!/bin/bash -printf "{{LIBNAME:UC}} Python Library: Installer\n\n" +LIBRARY_VERSION=`cat library/setup.py | grep version | awk -F"'" '{print $2}'` +LIBRARY_NAME=`cat library/setup.py | grep name | awk -F"'" '{print $2}'` + +printf "$LIBRARY_NAME $LIBRARY_VERSION Python Library: Installer\n\n" if [ $(id -u) -ne 0 ]; then printf "Script must be run as root. Try 'sudo ./install.sh'\n"