onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
242 stars 28 forks source link

dshell_install issues under linux #66

Closed bsutton closed 5 months ago

bsutton commented 4 years ago

One linux we need to install with sudo which means we need to fix the permissions post install.

Add check that we are running as sudo Make the following permission changes at the end of the install:

sudo chown -R .dshell sudo chown -R /.pub-cache

Doesn't work for second linux user. I'm guessing because dart is already installed.

The call to pub (or there abouts) during the install complains about pub cache bin not being on the path. Try to fix this.

bsutton commented 4 years ago

Need to test this with the latest dshell install script as it may be fixed as ware no longer using sudo to install.

bsutton commented 5 months ago

no longer an issue.