|
1 | 1 | #!/usr/bin/env bash
|
2 | 2 |
|
3 |
| -# curl https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/install.sh | sudo sh |
4 |
| -# curl https://raw.github.com/adafruit/Adafruit-WebIDE/test/scripts/install.sh | sudo sh |
5 |
| -# curl https://raw.github.com/adafruit/Adafruit-WebIDE/offline/scripts/install.sh | sudo sh -s - --offline |
| 3 | +# curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/install.sh | sudo sh |
| 4 | +# curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/test/scripts/install.sh | sudo sh |
| 5 | +# curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/offline/scripts/install.sh | sudo sh -s - --offline |
6 | 6 |
|
7 | 7 | #tar -zcvf editor.tar.gz * --exclude .git --exclude .gitignore
|
8 | 8 | #tar -zcvf editor-update.tar.gz * --exclude .git --exclude .gitignore
|
9 | 9 | #sudo -u webide -g webide node server
|
10 | 10 |
|
11 |
| -#curl -k https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/install.sh | sh |
| 11 | +#curl -k https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/install.sh | sh |
12 | 12 |
|
13 | 13 | #http://stackoverflow.com/a/6946864/629189
|
14 | 14 | # translate long options to short
|
|
84 | 84 | cp src/redis-cli /usr/bin/redis-cli
|
85 | 85 | mkdir -p /etc/redis
|
86 | 86 | mkdir -p /var/redis
|
87 |
| - curl -k https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/redis/redis_6379 > /etc/init.d/redis_6379 |
88 |
| - curl -k https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/redis/redis.conf > /etc/redis/6379.conf |
| 87 | + curl -k https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/redis/redis_6379 > /etc/init.d/redis_6379 |
| 88 | + curl -k https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/redis/redis.conf > /etc/redis/6379.conf |
89 | 89 | mkdir -p /var/redis/6379
|
90 | 90 | chmod +x /etc/init.d/redis_6379
|
91 | 91 | update-rc.d redis_6379 defaults
|
|
150 | 150 | fi
|
151 | 151 |
|
152 | 152 | echo "**** Setting up systemd scripts"
|
153 |
| -curl -k https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/adafruit-webide-angstrom.service > /lib/systemd/system/adafruit-webide-angstrom.service |
| 153 | +curl -k https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/adafruit-webide-angstrom.service > /lib/systemd/system/adafruit-webide-angstrom.service |
154 | 154 | cd /etc/systemd/system/multi-user.target.wants
|
155 | 155 | ln -s /lib/systemd/system/adafruit-webide-angstrom.service adafruit-webide-angstrom.service
|
156 | 156 | systemctl daemon-reload
|
|
0 commit comments