diff --git a/install/from-scratch.sh b/install/from-scratch.sh
old mode 100755
new mode 100644
index 18bc3cf595be99bbe559a68e66da45636dddf81f..4b6849cbb47dfef6d3e079aca66e02dc1c2e9c2f
--- a/install/from-scratch.sh
+++ b/install/from-scratch.sh
@@ -105,7 +105,7 @@ fi
 
 ${CONDA} install --yes -n ${NAME} --override-channels -c defaults \
     hdf5=1.8.17=1 \
-    jpeg=8d=1 \
+    jpeg=8d=2 \
     libpng=1.6.22=0 \
     libtiff=4.0.6=2