From b37481866252e04875f5c635213a9a22a6696c25 Mon Sep 17 00:00:00 2001 From: Blackwhitebear8 Date: Fri, 21 Mar 2025 19:34:12 +0100 Subject: [PATCH] Update installer.sh --- installer.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/installer.sh b/installer.sh index 78cc8f8..84bd1c3 100644 --- a/installer.sh +++ b/installer.sh @@ -61,7 +61,8 @@ sudo python3 setup.py build sudo python3 setup.py install # Installeren en aanpassen van WiringPi -cd /home/pi +sudo rm -rf /opt/WiringPi +cd /opt git clone https://github.com/WiringPi/WiringPi cd WiringPi sudo rm wiringPi/wiringPiLegacy.c @@ -112,7 +113,8 @@ int piGpioLayoutLegacy(void) { EOL # Installeren van WiringPi python -cd /home/pi +sudo rm -rf /opt/WiringPi-Python +cd /opt git clone git clone --recursive https://github.com/WiringPi/WiringPi-Python.git cd WiringPi-Python sudo rm -rf WiringPi