From 14db1e6a4254ab0daef2d11530b5385b071b2505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric?= Date: Sat, 21 Apr 2018 12:11:32 -0400 Subject: [PATCH] Uninstall serial install pyserial --- plugin_info/info.json | 2 +- ressources/install_apt.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugin_info/info.json b/plugin_info/info.json index c4b308a..a200671 100644 --- a/plugin_info/info.json +++ b/plugin_info/info.json @@ -15,5 +15,5 @@ }, "changelog" : "https://Jeedom-Plugins-Extra.github.io/plugin-teleinfo/#language#/changelog", "documentation" : "https://Jeedom-Plugins-Extra.github.io/plugin-teleinfo/#language#/", - "pluginVersion" : "2.7.1" + "pluginVersion" : "2.7.2" } diff --git a/ressources/install_apt.sh b/ressources/install_apt.sh index dfea2ef..9cf87ec 100644 --- a/ressources/install_apt.sh +++ b/ressources/install_apt.sh @@ -39,7 +39,9 @@ echo 30 > ${PROGRESS_FILE} echo 40 > ${PROGRESS_FILE} echo "Installation de la librairie serial" #pip_install serial -pip_install pypserial +sudo pip uninstall -y serial +#apt_install python-serial +pip_install pyserial echo 50 > ${PROGRESS_FILE} echo "Mise à jour de cmdline ou inittab suivant système" if [ -e /dev/ttyAMA0 ]; then