stickler Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
6dc85c3527
commit
3cc9ba4ee8
|
@ -90,11 +90,11 @@ getRemoteVersion(){
|
|||
|
||||
#If the above file exists, then we can read from that. Prevents overuse of Github API
|
||||
if [[ -f "$cachedVersions" ]]; then
|
||||
IFS=' ' read -r -a arrCache <<< $(cat $cachedVersions)
|
||||
IFS=' ' read -r -a arrCache < "$cachedVersions"
|
||||
case $daemon in
|
||||
"pi-hole" ) echo ${arrCache[0]};;
|
||||
"AdminLTE" ) echo ${arrCache[1]};;
|
||||
"FTL" ) echo ${arrCache[2]};;
|
||||
"pi-hole" ) echo "${arrCache[0]}";;
|
||||
"AdminLTE" ) echo "${arrCache[1]}";;
|
||||
"FTL" ) echo "${arrCache[2]}";;
|
||||
esac
|
||||
|
||||
return 0
|
||||
|
|
Loading…
Reference in New Issue