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:
parent
0f07d8c404
commit
e66f573606
2
init.sh
2
init.sh
@ -13,7 +13,7 @@ function report_loop {
|
|||||||
function fetch_installer {
|
function fetch_installer {
|
||||||
curl "$RTM_DOWNLOAD_URL$RTM_VERSION" > $INSTALLER
|
curl "$RTM_DOWNLOAD_URL$RTM_VERSION" > $INSTALLER
|
||||||
CHECKSUM=$(sha256sum $INSTALLER)
|
CHECKSUM=$(sha256sum $INSTALLER)
|
||||||
if [ "$CHECKSUM" -eq "$RTM_INSTALLER_CHECKSUM $INSTALLER" ]; then
|
if [ "$CHECKSUM" == "$RTM_INSTALLER_CHECKSUM $INSTALLER" ]; then
|
||||||
chmod +x $INSTALLER
|
chmod +x $INSTALLER
|
||||||
$INSTALLER
|
$INSTALLER
|
||||||
report_loop
|
report_loop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user