Skip to content

Commit e7516c0

Browse files
authored
msctl: cleanup force-update option
1 parent ee63109 commit e7516c0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

msctl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2506,7 +2506,10 @@ case "$1" in
25062506
;;
25072507
update|force-update)
25082508
# Handle the force option.
2509-
if [ "$(echo \"$1\" | cut -d '-' -f1)" = "force" ]; then
2509+
if [ "$1" = "force-update" ]; then
2510+
if [ -s $VERSIONS_JSON ]; then
2511+
printf "Removing cached version manifest.\n"
2512+
fi
25102513
rm -f $VERSIONS_JSON
25112514
fi
25122515
# Grab the latest version information.

0 commit comments

Comments
 (0)