* Issues 78 - Makes `install.sh` more shellcheck compliant.
* Adds wrapper for curl calls.
* Replaces unneeded double quotes with single quotes.
* Replaces single bracket tests with double bracket tests.
* Adds function for saving remote files locally.
* Adds null checks.
* Fixes incorrect curl parameters.
* Wraps logic to get package.json in separate function.
* Adds cleaner solution for curl calls in install.sh.
This changes moves things like creating the deps dir and installing
dependencies into the local branch of the installer. This will stop
it from trying to install dependencies when you do global installs.
Installing dependencies for global installs doesn't look like it
actually worked though.
updated readme with files entry
moved package.json copy near the start of install
moved directory creation to the start of install
moved getdeps to the start of install
* if the installed file is a script in the json file, after
install, a symbolic link is made from
deps/package_name/script.sh -> deps/bin/script
and the script get user execution permissions
New Plugins:
- bpkg-update: sync repo listings locally
- bpkg-list: list the repo names, with -d flag for details
- bpkg-utils: source-only shared utilities for bpkg plugins
Change-Id: I9ef04a86efa35c61cabd7c4ecfa7c7a134b41c6c