Add wget check
This commit is contained in:
parent
6d995de851
commit
ddf5831862
5
copy.sh
5
copy.sh
|
@ -3,6 +3,11 @@
|
||||||
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
FAKE_HOME="$SCRIPT_DIR/fake_home"
|
FAKE_HOME="$SCRIPT_DIR/fake_home"
|
||||||
|
|
||||||
|
if ! command -v wget &> /dev/null; then
|
||||||
|
echo "wget must be installed!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
|
|
||||||
|
|
|
@ -141,3 +141,7 @@ ex ()
|
||||||
|
|
||||||
source ~/.shell_aliases
|
source ~/.shell_aliases
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
|
Loading…
Reference in New Issue