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

bin/gpm direct-install install login plugin in user/plugin/languages #1396

Closed
gnufred opened this issue Apr 1, 2017 · 1 comment
Closed
Labels

Comments

@gnufred
Copy link
Contributor

gnufred commented Apr 1, 2017

$ git clone https://github.com/getgrav/grav grav-vanilla
Cloning into 'grav-vanilla'...
[...]

$ cd grav-vanilla 

$ composer install
Loading composer repositories with package information
[...]
Generating autoload files

$ bin/gpm direct-install https://getgrav.org/download/plugins/login/2.2.1
Are you sure you want to direct-install https://getgrav.org/download/plugins/login/2.2.1 [y|N] y

Preparing to install https://getgrav.org/download/plugins/login/2.2.1
  |- Downloading package...   100%
  |- Extracting package...    ok
  |- Dependencies found...    [grav,form,email]
  |  '- Dependencies will not be satisfied. Continue ? [y|N] y
  |- Checking destination...  ok
  |- Installing package...    ok
  '- Success!  


Clearing cache

Cleared:  /home/f/proj/grav-vanilla/cache/compiled/*

Touched: /home/f/proj/grav-vanilla/user/config/system.yaml

$ ls user/plugins 
languages 

With PsySH interactive debugger I was able to find that GPM::getInstallPath($type, $name) return languages.
If I delete the languages.yaml in the temporary extracted folder and return to the process, installation will finis correctly in login.

Does not affect bin/gpm install login

@rhukster
Copy link
Member

rhukster commented Apr 4, 2017

Weird one! I'll look into it.

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

No branches or pull requests

2 participants