projects
/
EVA-2020-02-2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename envirophatplus -> enviroplus
[EVA-2020-02-2.git]
/
install.sh
diff --git
a/install.sh
b/install.sh
index 13ce97a3879b4861c88870b37878f4a767eb2901..1205c0cc09ac5628a44e623b7b72841967c7603d 100755
(executable)
--- a/
install.sh
+++ b/
install.sh
@@
-1,6
+1,9
@@
#!/bin/bash
#!/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"
if [ $(id -u) -ne 0 ]; then
printf "Script must be run as root. Try 'sudo ./install.sh'\n"