Skip to content

Commit 8f8ac48

Browse files
committed
Simplify installation of native libraries
1 parent ef01561 commit 8f8ac48

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

modules/native-libraries.sh

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,10 @@ if [ "$PLATFORM" == "ev3" ] ||
88
[ "$PLATFORM" == "pistorms" ]; then
99

1010
apt-get update
11-
12-
if [ "$(isInstalled libopencv2.4-java)" == "no" ]; then
13-
apt-get install --yes --no-install-recommends libopencv2.4-java
14-
fi
15-
16-
if [ "$(isInstalled librxtx-java)" == "no" ]; then
17-
apt-get install --yes --no-install-recommends librxtx-java
18-
fi
11+
apt-get install --yes --no-install-recommends libopencv2.4-java librxtx-java
1912

2013
else
21-
echo "This platform: $PLATFORM is not suitable for Battery Monitor."
14+
echo "This platform: $PLATFORM is not suitable for native libraries."
2215
echo
2316
fi
2417

0 commit comments

Comments
 (0)