kopia lustrzana https://github.com/km4ack/pi-build
pull/449/head
rodzic
98a01e724d
commit
c477005f5e
|
@ -262,7 +262,7 @@ fi
|
|||
#If VARA is chosen, make sure we have a Pi 4 32 bit system to work with.
|
||||
#As of 02OCT2022 the VARA installer only works with the Pi 4.
|
||||
VARA_CHK=$(grep VARA ${BASE})
|
||||
if [ -n $VARA_CHK ]; then
|
||||
if [ -n "$VARA_CHK" ]; then
|
||||
FREEMEM=$(free -m | grep Mem: | awk '{ print $2 }')
|
||||
if [ $FREEMEM -lt 1500 ]; then
|
||||
echo "Not enough memory available"
|
||||
|
|
Ładowanie…
Reference in New Issue