From 818a3ef96a82708cd96095fc94dededb72037333 Mon Sep 17 00:00:00 2001 From: Alistair MacDonald Date: Fri, 20 Nov 2020 16:58:01 +0000 Subject: [PATCH] Update location of WiringPi WiringPI is now deprecated and the official repository removed. Details at http://wiringpi.com/news/ . A community maintained mirror is available for now. The install script has been updated to use this instead. --- mp_pkt_fwd/build-pi.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mp_pkt_fwd/build-pi.sh b/mp_pkt_fwd/build-pi.sh index fc9a27b..0d82d4d 100755 --- a/mp_pkt_fwd/build-pi.sh +++ b/mp_pkt_fwd/build-pi.sh @@ -8,11 +8,11 @@ INSTALL_DIR="/opt/ttn-gateway" mkdir -p $INSTALL_DIR/dev cd $INSTALL_DIR/dev -if [ ! -d wiringPi ]; then - git clone git://git.drogon.net/wiringPi || { echo 'Cloning wiringPi failed.' ; exit 1; } - cd wiringPi +if [ ! -d WiringPi ]; then + git clone https://github.com/WiringPi/WiringPi.git || { echo 'Cloning wiringPi failed.' ; exit 1; } + cd WiringPi else - cd wiringPi + cd WiringPi git reset --hard git pull fi