1
0
mirror of https://bitbucket.org/shim_/docker-rtm.git synced 2018-10-04 01:52:08 +02:00

compare strings not ints

This commit is contained in:
shim_ 2016-06-13 16:01:47 +02:00
parent 0f07d8c404
commit e66f573606

View File

@ -13,7 +13,7 @@ function report_loop {
function fetch_installer {
curl "$RTM_DOWNLOAD_URL$RTM_VERSION" > $INSTALLER
CHECKSUM=$(sha256sum $INSTALLER)
if [ "$CHECKSUM" -eq "$RTM_INSTALLER_CHECKSUM $INSTALLER" ]; then
if [ "$CHECKSUM" == "$RTM_INSTALLER_CHECKSUM $INSTALLER" ]; then
chmod +x $INSTALLER
$INSTALLER
report_loop