when importing complib a version check is now performed and the user is notified if he is using an outdated version

This commit is contained in:
Joel 2021-02-06 23:51:24 +01:00
parent 90e3dd6f00
commit ce6b06544a
No known key found for this signature in database
GPG key ID: BDDDBECD0808290E
4 changed files with 20 additions and 4 deletions

View file

@ -1,3 +1,9 @@
grep -qxF "apt update" /etc/rc.local
if [ $? -ne 0 ]; then
echo "adding apt update to rc.local"
sed -i "2s/^/apt update\n/" /etc/rc.local
fi
install_package() {
echo "Installing package '$1' via pip3"
pip3 install "$1"