TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: OTTAVIO CARUSO
date: 2020-09-30 15:55:00
subject: Re: Error with ./install.

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.