File tree 1 file changed +14
-9
lines changed
1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,20 @@ apt-get -qq install --yes --no-install-recommends \
32
32
xz-utils \
33
33
x11-utils & > /dev/null
34
34
35
- echo ' Installing 32bit libraries'
36
- dpkg --add-architecture i386
37
- apt-get update & > /dev/null
38
- apt-get -qq install --yes --no-install-recommends \
39
- libc6:i386 \
40
- libx11-6:i386 \
41
- libxext6:i386 \
42
- libstdc++6:i386 \
43
- libexpat1:i386 & > /dev/null
35
+ if [ " $MPLABX_VERSION " -ne 0 ]; then
36
+ V540MINUS=$( bc -l <<< " $MPLABX_VERSION <= 5.40" )
37
+ if [ " $V540MINUS " -eq 1 ]; then
38
+ echo ' Installing 32bit libraries'
39
+ dpkg --add-architecture i386
40
+ apt-get update & > /dev/null
41
+ apt-get -qq install --yes --no-install-recommends \
42
+ libc6:i386 \
43
+ libx11-6:i386 \
44
+ libxext6:i386 \
45
+ libstdc++6:i386 \
46
+ libexpat1:i386 & > /dev/null
47
+ fi
48
+ fi
44
49
45
50
V530MINUS=0
46
51
if perl -e " if ($MPLABX_VERSION > 0){ exit 0 } else { exit 1 }" ; then
You can’t perform that action at this time.
0 commit comments