X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/651e1c201721a5903d0136d937c234166232c8e3..dd7489f8b307d02b50b12cfd604b6935ec7a8646:/install.sh?ds=inline 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"