experius / SeoSnap

Server Side Rendering (SSR) for javascript applications
GNU General Public License v3.0
52 stars 12 forks source link

Illegal option on make install #34

Open Andreabont opened 2 years ago

Andreabont commented 2 years ago

This error shows up in the installation script when you run make install, i'm running the script using Kubuntu 20.04

$ make install
echo 'Running installation'
Running installation
cp .env.example .env
sh seosnap-dashboard/dev/commands/install.sh
Generating new secret key
Setting new admin user login
Username [snaptron]: 
Email [snaptron@snap.tron]: 
seosnap-dashboard/dev/commands/install.sh: 10: read: Illegal option -s
mandrikv commented 1 year ago

Same problem (WSL2, Ubuntu 20.04)

iget-master commented 1 year ago

If someone need:

Edit install.sh shebang from

#!/bin/sh

to

#!/bin/bash

Should work. Also notice that if the file .env was creating during failed execution, the script fail silently, so delete your .env first.