cli icon indicating copy to clipboard operation
cli copied to clipboard

Cannot install using shell

Open halink0803 opened this issue 2 years ago • 4 comments

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

halink0803 avatar Mar 16 '23 06:03 halink0803

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

ziflex avatar Mar 28 '23 17:03 ziflex

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

halink0803 avatar Mar 30 '23 09:03 halink0803

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

ziflex avatar Mar 30 '23 15:03 ziflex

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

halink0803 avatar Mar 31 '23 09:03 halink0803