Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install using shell #13

Open
halink0803 opened this issue Mar 16, 2023 · 4 comments
Open

Cannot install using shell #13

halink0803 opened this issue Mar 16, 2023 · 4 comments

Comments

@halink0803
Copy link

When I tried to install Ferret Cli using shell, it throws error:

sh: 7: fn_echo: not found
Installing MontFerret  v1.10.0...
mktemp: too few X's in template ‘MontFerret.cli’
mkdir: cannot create directory ‘/[email protected]’: Permission denied
Can't create temp directory. Exiting...
@ziflex
Copy link
Member

ziflex commented Mar 28, 2023

Hey, I've just updated the script. Could you try again?

@halink0803
Copy link
Author

I tried again. I think it almost fixed. There is still a small issue:

curl https://raw.githubusercontent.com/MontFerret/cli/master/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5140  100  5140    0     0  25829      0 --:--:-- --:--:-- --:--:-- 25829
sh: 59: [[: not found
Installing MontFerret cli v1.11.0...
Downloading package https://github.com/MontFerret/cli/releases/download/v1.11.0/cli_linux_x86_64.tar.gz as /tmp/MontFerret.cli.oOVwGnU/[email protected]/cli_linux_x86_64.tar.gz
Copying /tmp/MontFerret.cli.oOVwGnU/[email protected]/ferret to /home/ha/.ferret
sh: 110: [[: not found
Updating profile /home/ha/.bashrc
New version of MontFerret Cli installed to /home/ha/.ferret
Version:
  Self: 1.11.0
  Runtime: 0.18.0

@ziflex
Copy link
Member

ziflex commented Mar 30, 2023

Hmmm. Interesting.
It's definitely working on Mac, hah!
How about now?

@halink0803
Copy link
Author

halink0803 commented Mar 31, 2023

sorry I couldn't test until now.
I am using Ubuntu 20.04:
Here is there result:

Installing MontFerret cli v1.11.0...
Downloading package https://github.com/MontFerret/cli/releases/download/v1.11.0/cli_linux_x86_64.tar.gz as /tmp/MontFerret.cli.jNZYzdV/[email protected]/cli_linux_x86_64.tar.gz
Copying /tmp/MontFerret.cli.jNZYzdV/[email protected]/ferret to /home/ha/.ferret
sh: 116: [[: not found
Updating profile /home/ha/.bashrc
New version of MontFerret Cli installed to /home/ha/.ferret
Version:
  Self: 1.11.0
  Runtime: 0.18.0

It seems line 116 still got some syntax errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants