TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ROBH
from: THEO
date: 2020-09-30 21:36:00
subject: Re: Error with ./install.

RobH  wrote:
> On 30/09/2020 19:23, Dennis Lee Bieber wrote:
> > diff instal.sh install.sh
>
> Output as requested:
>
> rob@rob-Z97:~/Pi_lcd/lcd-master$ diff instal.sh install.sh
> 2,4c2,4
> < if [ "$(id -u)" != "0" ]; then
> <       echo "Please re-run as sudo."
> <       exit 1
> ---
>  > if [ "$(id -u)" != "0" ]: then
>  > echo "Please re-run as sudo."
>  > exit 1
> 32,33c32,33
> < read -n1 -s
> < sudo reboot
> ---
>  > read -n1 -s:
>  > sudo reboot:

You seem to be having spurious colons there, and a semicolon turning into a
colon.  Is there something about the way you're creating the file?

Theo

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