On 30/09/2020 15:36, RobH wrote:
> On 30/09/2020 15:10, alister wrote:
>> On Wed, 30 Sep 2020 14:02:23 +0100, RobH wrote:
>>
>>> I had to do a reinstall of my linux system due to a faulty ssd, and have
>>> a problem with a install.sh script.The said script is included in with
>>> lcd files. which I downloaded from github.
>>>
>>> It is a simple script which runs a realtime clock on a pi zero with an
>>> lcd screen.
>>>
>>> When I run ./install.sh, it fails at ./install.sh: line 34: syntax
>>> error: unexpected end of file.
>>>
>>> I don't know what the syntax should be here;
>>>
>>> These are the last 4 lines in the script, and if I count the spaces
>>> then:
>>>
>>> echo "Should be now all finished. Please press any key to now reboot.
>>> After rebooting run"
>>> echo "'sudo python demo_lcd.py' from this directory"
>>> read -n1 -s <<<<<<<<<<<<<<<<<<<<< I think this is the line in question
>>> sudo reboot
>>>
>>> Thanks
>>
>> if you could detail which github download you are using it may help
>> someone to answer your question.
>>
>>
>>
>>
> oops, sorry,
>
> https://github.com/the-raspberry-pi-guy/lcd/find/master
There's no line 34. Maybe the file is corrupted. How did you download
the script? Did you use git?
--
Ottavio Caruso
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|