Skip to content

Commit 849ce74

Browse files
committed
Update installers
1 parent 89a4b85 commit 849ce74

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

resources/tools/scala-utils.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ if [[ ! $(scala -version 2>&1) =~ "version 2.12" ]]; then
1818
# Update to Scala 2.12 is required for spark
1919
SCALA_VERSION=2.12.12
2020
echo "Updating to Scala $SCALA_VERSION. Please wait..."
21-
apt-get remove scala-library scala
22-
apt-get autoremove
21+
# TODO: remove scala - only works if scala exists
22+
# apt-get remove scala-library scala
23+
# apt-get autoremove
2324
wget -q https://downloads.lightbend.com/scala/$SCALA_VERSION/scala-$SCALA_VERSION.deb -O ./scala.deb
2425
dpkg -i scala.deb
2526
rm scala.deb

0 commit comments

Comments
 (0)