Skip to content

Commit ee63109

Browse files
authored
msctl: add to version manifest update user output
1 parent af86a44 commit ee63109

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

msctl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,11 @@ updateVersionsJSON() {
541541
cp -p "$VERSIONS_JSON" "$VERSIONS_JSON.bak"
542542
# Delete the version_manifest.json file if it is old.
543543
find "$VERSIONS_JSON" -mmin +"$VERSIONS_DURATION" -delete
544-
if [ ! -s $VERSIONS_JSON ]; then
545-
printf "The version manifest was out of date, it has been removed.\n"
544+
if [ -s $VERSIONS_JSON ]; then
545+
printf "The cached copy of the version manifest is up to date.\n"
546+
printf "Use the force-update option to ensure a new copy is downloaded.\n"
547+
else
548+
printf "The version manifest cache was out of date, it has been removed.\n"
546549
fi
547550
fi
548551
# Download the version_manifest.json file if it does not exist.

0 commit comments

Comments
 (0)