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
Impossible to save a package if installed previously #104
Comments
Bower does just the same: if a package is already installed, it's not installed again. |
It's right that it does not install it again but it should add it in the bower.json |
No. There is no implicit adding in bower.json, you need to use |
I know. The bug is that the -S option doesn't work if the package is already installed. Maybe the easiest/cleanest fix is just to check for the -S option before to try to install ? |
The problem is that it returns on line 104 if the package is already installed with the same version. That's before it's checking for the -S option on line 116. |
I have to check but I also have the impression that the version in bower.json file won't be updated if a package is updated. |
…talled Previously if a package was already installed in the right version, saving it in the bower.json was not possible because of an early exit. Correcting also a little side effect of the change of execution order. Fix Bee-Lab#104
Well my remark about the update command make no sense. As it will only update depending on the version requirements. |
…talled Previously if a package was already installed in the right version, saving it in the bower.json was not possible because of an early exit. Correcting also a little side effect of the change of execution order. Fix Bee-Lab#104
If you want to save a package that you have already installed with
bowerphp install jquery-address
.It will fail because there is a check for that in bowerphp.php line 100.
Not sure what the best approach is in this case ?
The text was updated successfully, but these errors were encountered: