Skip to content

Commit 90e30dd

Browse files
committed
Minor change
1 parent 1d9eea5 commit 90e30dd

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

modules/battery-monitor.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@ function installBatteryMonitor() {
66

77
isInstalled unzip
88
if [ "$INSTALLED" == "$INSTALLED_NO" ]; then
9-
apt-get install unzip
9+
if [ "$PLATFORM" == "$EV3" ]; then
10+
11+
mkdir -p packages
12+
cd packages
13+
wget http://ftp.us.debian.org/debian/pool/main/u/unzip/unzip_6.0-16+deb8u3_armel.deb
14+
sudo dpkg -i unzip_6.0-16+deb8u3_armel.deb
15+
cd ..
16+
else
17+
apt-get install unzip
18+
fi
19+
1020
fi
1121

1222
unzip batteryMonitor-0.2.0-SNAPSHOT.zip

0 commit comments

Comments
 (0)