From 122aa7d912ac881b6e0e1fd450bee3de3acbf20a Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 26 May 2026 07:38:44 -0400 Subject: [PATCH] Update install wiringpi v3 not v2 --- install | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/install b/install index 964e13ed..5b7813c9 100755 --- a/install +++ b/install @@ -404,12 +404,20 @@ fi sudo systemctl disable gpsd sudo systemctl disable gpsd.socket -if [ ! -d "/home/pi/WiringPi" ]; then - cd - git clone https://github.com/alanbjohnston/WiringPi - cd WiringPi +#if [ ! -d "/home/pi/WiringPi" ]; then +# cd +# git clone https://github.com/alanbjohnston/WiringPi +# cd WiringPi +# ./build debian +# sudo dpkg -i debian-template/wiringpi-2.61-1.deb +#fi + +if [ ! -d "/home/pi/WiringPi3" ]; then + git clone https://github.com/WiringPi/WiringPi.git WiringPi3 + cd WiringPi3 ./build debian - sudo dpkg -i debian-template/wiringpi-2.61-1.deb + mv debian-template/wiringpi*.deb . + sudo apt install ./wiringpi*.deb fi cd