Hi, one guess is that this script was meant to be run by bash, not some other shell like dash. Does it start with #!/bin/sh and does it work if you use #!/bin/bash instead?
Greetings, Joachim Am Mittwoch, den 15.06.2016, 00:45 +0300 schrieb Dani: > I have a Neo FreeRunner running SHR 2013.07. It has an 8 GB memory > card. > I am trying to install Debian on it but the installation fails. After > "clearing MBR of SD" and "building a new DOS disklabel" and during > partitioning I get this error: > > ./install.sh: line 754: -(*0/7822): syntax error: operand expected > (error token is "*0/7822)") > > The line in question seems to be: > > mb=$(( $(cat /sys/block/mmcblk0/size) * 8 / 15625 )) > > /sys/block/mmcblk0/size for me is 15278080. > > Any ideas how to get this working? > -- Joachim “nomeata” Breitner Debian Developer nome...@debian.org • https://people.debian.org/~nomeata XMPP: nome...@joachim-breitner.de • GPG-Key: 0xF0FBF51F https://www.joachim-breitner.de/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland