From bf045e0d825b281b03ec05b8c13e368b32464b4f Mon Sep 17 00:00:00 2001 From: Wendell Borges Date: Thu, 24 May 2018 05:59:15 -0300 Subject: [PATCH] change location of apt build-essentials --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 6ba0004..1c4c6c2 100755 --- a/install.sh +++ b/install.sh @@ -37,6 +37,8 @@ show_menu () { confirmAnswer "Would you like to install wiringPI? This is required to control the GPIO" if [ $? = 0 ]; then + # By default DietPi does not have this package installed. + apt-get -y install build-essential git clone git://git.drogon.net/wiringPi; cd wiringPi; ./build; cd ..; @@ -44,8 +46,7 @@ show_menu () { fi # By default DietPi does not have this package installed. - apt-get -y install build-essential - apt-get -y install python-rpi.gpio + apt-get -y install python-rpi.gpio apt-get -y install python-setuptools easy_install pip