Fix typos breaking first if conditional, syntax error

This commit is contained in:
John David Pressman 2019-06-08 12:13:06 -07:00
parent 0575176939
commit 1592da58b7

View File

@ -1,6 +1,6 @@
# This script installs opam for the user. It should NOT be included in any makefiles/etc. # This script installs opam for the user. It should NOT be included in any makefiles/etc.
if [ -n "`which opam`"] if [ -n "`which opam`" ]
then then
if [ -n "`opam --version | grep -P "2\..\.."`" ] if [ -n "`opam --version | grep -P "2\..\.."`" ]
then then
@ -52,6 +52,7 @@ else
else else
rm opam_temp_version_2_0_4.bin rm opam_temp_version_2_0_4.bin
exit exit
fi
else else
echo "opam file hash doesn't match what was recorded at time of signature verification!" echo "opam file hash doesn't match what was recorded at time of signature verification!"
echo "(If you actually get this message, you should probably file an issue)" echo "(If you actually get this message, you should probably file an issue)"