Skip to content

Commit 1d9eea5

Browse files
committed
Adding the installation of unzip
1 parent 2642c8b commit 1d9eea5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/battery-monitor.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
function installBatteryMonitor() {
44
cd /home/robot
55
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+
612
unzip batteryMonitor-0.2.0-SNAPSHOT.zip
713
mv batteryMonitor-0.2.0-SNAPSHOT batteryMonitor
814
cd batteryMonitor

0 commit comments

Comments
 (0)