-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
33 lines (27 loc) · 849 Bytes
/
install.sh
File metadata and controls
33 lines (27 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
echo "Downloading node-version-manager"
NVM_VERSION=v0.34.0
curl -o- https://raw.githubusercontent.com/creationix/nvm/$NVM_VERSION/install.sh | bash
echo "Creating workspace executes:"
sudo mkdir ~/.executes
sudo mkdir ~/.executes/bin
echo "Copying scripts..."
cp gp ~/.executes/bin
cp gf ~/.executes/bin
cp branch/branch ~/.executes/bin
cp branch/configure ~/.executes/bin
cp openurl ~/.executes/bin
cp rn-refresh ~/.executes/bin
cp nosync ~/.executes/bin
echo "Permissions..."
sudo chmod 754 ~/.executes/bin/gp
sudo chmod 754 ~/.executes/bin/gf
sudo chmod 754 ~/.executes/bin/branch
sudo chmod 754 ~/.executes/bin/configure
sudo chmod 754 ~/.executes/bin/openurl
sudo chmod 754 ~/.executes/bin/rn-refresh
sudo chmod 754 ~/.executes/bin/nosync
echo "Executes done!"
echo "Installing profile:"
. install-profile.sh
echo "All DONE!"