mirror of
https://github.com/km4ack/pi-build
synced 2026-08-13 17:52:14 -04:00
fix #477
This commit is contained in:
parent
192c37d060
commit
13b4d4b019
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ PAT() {
|
|||
sudo systemctl start pat@${WHO}
|
||||
sudo systemctl enable pat@${WHO}
|
||||
cd ${DIR}
|
||||
PAT_VERSION=$(pat version | awk '{print $2}' | sed 's/v0.//;s/.0//')
|
||||
PAT_VERSION=$(pat version | awk '{print $2}' | awk -F "." '{print $2}')
|
||||
#The Pat Winlink config file will change location in version 0.12. The below if statement
|
||||
#checks to see which version is installed.
|
||||
#check to see if pat version is 12 or greater. Change config file location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue