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)
|