Skip to content

Pressing ctrl-c when quarto is updating breaks installation #440

Open
@wch

Description

@wch

I installed Quarto by cloning this repo and running ./configure-macos.sh. Sometimes I update with a git pull, and then when I actually use quarto, it updates Deno. If I press ctrl-c when it's in the middle of updating, it breaks my quarto installation. For example:

$ quarto render
Bootstrapping Deno...
~/nobackup/quarto-cli/package ~/nobackup/quarto-cli
~/nobackup/quarto-cli/package/dist ~/nobackup/quarto-cli/package ~/nobackup/quarto-cli
~/nobackup/quarto-cli/package/dist/bin ~/nobackup/quarto-cli/package/dist ~/nobackup/quarto-cli/package ~/nobackup/quarto-cli
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   667  100   667    0     0   2533      0 --:--:-- --:--:-- --:--:--  2605
 46 28.7M   46 13.3M    0     0  5045k      0  0:00:05  0:00:02  0:00:03 6572k^C

$ quarto render
-bash: /usr/local/bin/quarto: No such file or directory

Running ./configure-macos.sh fixes it, but it would be nice if it didn't break in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions