sdetweil / MagicMirror_scripts

Magic Mirror installation and setup scripts
337 stars 61 forks source link

Fixuppm2.sh creates a file named 0 #57

Closed OldSunGuy closed 1 year ago

OldSunGuy commented 1 year ago

I ran fixuppm2.sh and noticed a file named 0 in the MagicMirror directory. It looks to me that lines 127 and 130 have a redirect instead of a test. That is, this: >0 should be: -gt 0

sdetweil commented 1 year ago

thank you. fixed

sdetweil commented 1 year ago

also was in the raspberry.sh installer, where I extracted the fixuppm2 from...

been looking for this for a couple years now! JavaScript contaminated!!

OldSunGuy commented 1 year ago

Yeah, mixing different languages is a problem when you know more than a few.

Thanks for the quick fix.