Browse Source

reinstall script

pull/196/head
mstroh76 8 months ago
parent
commit
89dad15d12
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      reinstall

+ 11
- 0
reinstall View File

@@ -0,0 +1,11 @@
#!/bin/sh
vMaj=`cut -d. -f1 VERSION`
vMin=`cut -d. -f2 VERSION`
DEBVERSION=$vMaj.$vMin
sudo apt -y remove wiringpi
./build clean
./build debian
mv debian-template/wiringpi_${DEBVERSION}_armhf.deb .
sudo apt install ./wiringpi_${DEBVERSION}_armhf.deb



Loading…
Cancel
Save