Add a script for configuring nvs
This commit is contained in:
parent
89eb9b26b7
commit
cc35f7e065
2 changed files with 23 additions and 5 deletions
scripts/Common/Software/NVS
|
@ -1,7 +1,11 @@
|
|||
#!/bin/bash
|
||||
export NVS_HOME="$HOME/.nvs";
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
home_expression='$HOME/.nvs';
|
||||
export NVS_HOME="$(bash -c echo $home_expression)";
|
||||
git clone https://github.com/jasongin/nvs "$NVS_HOME";
|
||||
# shellcheck source=~/.nvs/nvs.sh
|
||||
. "$NVS_HOME/nvs.sh" install;
|
||||
bash -c 'exec bash -c "nvs add latest"';
|
||||
bash -c 'exec bash -c "nvs link latest"';
|
||||
|
||||
NVS_HOME="$home_expression" \
|
||||
NVS_PATH="$NVS_HOME" \
|
||||
. "../../Config/NVS/install.sh";
|
||||
|
||||
popd > /dev/null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue