pull/494/head
KM4ACK 2023-02-02 11:00:03 -06:00
rodzic 192c37d060
commit 13b4d4b019
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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