File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- # alpha script to test a patch system for quick fixes in BAP
3+ # script to test a patch system for quick fixes in BAP
44# KM4ACK 20210805
55
66MYPATH=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd) "
77LOGO=${MYPATH} /logo.png
88DIR=/run/user/$UID
99
10- # Setup temp directory for BAP patches and download patches
11- cd $DIR
12- git init pi-build
13- cd pi-build
14- git remote add -f origin https://github.com/km4ack/pi-build.git
15- git config core.sparseCheckout true
16- echo " /patch" >> .git/info/sparse-checkout
17- git pull origin dev
18-
1910TEMP=/run/user/$UID /patch.txt
2011MENU (){
2112ls -I README.md $DIR /pi-build/patch > $TEMP
@@ -37,6 +28,7 @@ PATCH=$(echo ${INFO} | awk -F "|" '{print $1}')
3728if [ ${BUT} = 1 ] || [ ${BUT} = 252 ]; then
3829echo " cleanup and exit Build a Pi patch tool"
3930rm -rf $TEMP $DIR /pi-build
31+ # send user back to BAP update tool
4032${MYPATH} /update && exit
4133fi
4234
You can’t perform that action at this time.
0 commit comments