We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2642c8b commit 1d9eea5Copy full SHA for 1d9eea5
modules/battery-monitor.sh
@@ -3,6 +3,12 @@
3
function installBatteryMonitor() {
4
cd /home/robot
5
wget https://github.com/ev3dev-lang-java/batteryMonitor/raw/develop/releases/batteryMonitor-0.2.0-SNAPSHOT.zip
6
+
7
+ isInstalled unzip
8
+ if [ "$INSTALLED" == "$INSTALLED_NO" ]; then
9
+ apt-get install unzip
10
+ fi
11
12
unzip batteryMonitor-0.2.0-SNAPSHOT.zip
13
mv batteryMonitor-0.2.0-SNAPSHOT batteryMonitor
14
cd batteryMonitor
0 commit comments