TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2020-09-30 14:23:00
subject: Re: Error with ./install.

On Wed, 30 Sep 2020 18:35:24 +0100, RobH  declaimed the
following:

>rob@rob-Z97:~/Pi_lcd/lcd-master$ sh -n ./install.sh
>./install.sh: 34: ./install.sh: Syntax error: end of file unexpected
>(expecting "then")
>
 So it is seeing an incomplete IF construct...

>
>Update:
>I copied and pasted the 33 lines into a new file and named it instal.sh,
>then ran it.
>Result:no errors apart from this one during the install process:
>
>ImportError: No module named RPi.GPIO
>./instal.sh: line 15: [: =: unary operator expected

 Now, how about running a DIFF on the two, and showing the result.

diff instal.sh install.sh


--
 Wulfraed                 Dennis Lee Bieber         AF6VN
 wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

--- 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™.