You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 line
252 B

  1. #!/bin/sh
  2. vMaj=`cut -d. -f1 VERSION`
  3. vMin=`cut -d. -f2 VERSION`
  4. DEBVERSION=$vMaj.$vMin
  5. sudo apt -y remove wiringpi
  6. ./build clean
  7. ./build debian
  8. mv debian-template/wiringpi_${DEBVERSION}_armhf.deb .
  9. sudo apt install ./wiringpi_${DEBVERSION}_armhf.deb