km4ack / pi-build

https://youtube.com/km4ack
338 stars 71 forks source link

packet search app.check bug #462

Closed SpudGunMan closed 2 years ago

SpudGunMan commented 2 years ago

https://github.com/km4ack/pi-build/blob/42bf1a123fb97ba5f47c8dc1daf37c36cc7d21d9/app-check#L679

should read

if (($(echo "${NEWPACKETSEARCH} ${PACKETSEARCH}" | awk '{print ($1 > $2)}'))); then

SpudGunMan commented 2 years ago

I did find packet search has more issues see https://github.com/km4ack/pi-build/pull/464 specifically I cleaned up the version checking as well it wasn't working throwing an error.

also I found a possible problem with the file altogether I dont understand the CHECK{ process and did a rework on the whole file to flatten it as I only saw it called via update and via bash to set all the .txt files anyway I dont know any data is shared anymore between shells?