Skip to content

Installation in $HOME#117

Merged
jwerle merged 3 commits intobpkg:masterfrom
jclaveau:installation_by_user
Jan 12, 2020
Merged

Installation in $HOME#117
jwerle merged 3 commits intobpkg:masterfrom
jclaveau:installation_by_user

Conversation

@jclaveau
Copy link
Copy Markdown
Contributor

@jclaveau jclaveau commented Dec 5, 2019

This PR installs bpkg and the packages installed globally in /usr/local/bin if run as root and in $HOME/.local/bin if run as a user.

As there is not test framework integrated, I checked the following cases:

  • setup.sh
  • bpkg install bpkg -g
  • bpkg install term -g
  • sudo setup.sh
  • sudo bpkg install bpkg -g
  • sudo bpkg install term -g

The PREFIX value is passed as environment variable to the build command of packages.json or to make install

@jclaveau jclaveau force-pushed the installation_by_user branch 2 times, most recently from 239c671 to 0d66984 Compare December 5, 2019 14:43
@jclaveau jclaveau force-pushed the installation_by_user branch from 0d66984 to dbf4bcc Compare December 5, 2019 14:45
@jclaveau jclaveau mentioned this pull request Dec 11, 2019
@jwerle
Copy link
Copy Markdown
Member

jwerle commented Dec 18, 2019

LGTM!

@jclaveau
Copy link
Copy Markdown
Contributor Author

@jwerle Hey! Will it be merged eventually?

@jwerle jwerle merged commit 37008f0 into bpkg:master Jan 12, 2020
@jclaveau
Copy link
Copy Markdown
Contributor Author

Thanks!

@jwerle
Copy link
Copy Markdown
Member

jwerle commented Jan 12, 2020

no problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants