|
@ -964,10 +964,12 @@ int main(int args, char *argv[]) { |
|
|
newversion = blobmsg_get_string(tbc[CHECK_VERSION]); |
|
|
newversion = blobmsg_get_string(tbc[CHECK_VERSION]); |
|
|
fprintf(stdout, "new %s release %s found.\n", distribution, newversion); |
|
|
fprintf(stdout, "new %s release %s found.\n", distribution, newversion); |
|
|
} else { |
|
|
} else { |
|
|
|
|
|
newversion = version; |
|
|
fprintf(stdout, "staying on %s release version %s\n", distribution, version); |
|
|
fprintf(stdout, "staying on %s release version %s\n", distribution, version); |
|
|
blobmsg_add_string(&reqbuf, "version", version); |
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
blobmsg_add_string(&reqbuf, "version", newversion); |
|
|
|
|
|
|
|
|
if (tbc[CHECK_UPGRADES]) { |
|
|
if (tbc[CHECK_UPGRADES]) { |
|
|
fprintf(stdout, "package updates:\n"); |
|
|
fprintf(stdout, "package updates:\n"); |
|
|
print_package_updates(tbc[CHECK_UPGRADES]); |
|
|
print_package_updates(tbc[CHECK_UPGRADES]); |
|
|