Skip to content

Commit 8a41557

Browse files
committed
shortened urls
1 parent 05b280a commit 8a41557

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/YunMQTTClient.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ boolean YunMQTTClient::installBridge(boolean force) {
2020
Process p;
2121

2222
int r1 = p.runShellCommand("mkdir -p /usr/mqtt");
23-
int r2 = p.runShellCommand("wget https://raw.githubusercontent.com/256dpi/arduino-mqtt/yun/mqtt.py --no-check-certificate -O /usr/mqtt/mqtt.py");
24-
int r3 = p.runShellCommand("wget https://raw.githubusercontent.com/256dpi/arduino-mqtt/yun/bridge.py --no-check-certificate -O /usr/mqtt/bridge.py");
23+
// shortened: https://raw.githubusercontent.com/256dpi/arduino-mqtt/yun-bridge/yun/mqtt.py
24+
int r2 = p.runShellCommand("wget http://bit.ly/1aX4HVu --no-check-certificate -O /usr/mqtt/mqtt.py");
25+
// shortened: https://raw.githubusercontent.com/256dpi/arduino-mqtt/yun-bridge/yun/bridge.py
26+
int r3 = p.runShellCommand("wget http://bit.ly/1IXBeFe --no-check-certificate -O /usr/mqtt/bridge.py");
2527

2628
return r1 == 0 && r2 == 0 && r3 == 0;
2729
}

0 commit comments

Comments
 (0)