xbps-checkvers: version cache file.

We do not want obsolete files from previous versions, so that
we version the filename of that working version.
This commit is contained in:
Juan RP
2019-12-27 18:23:46 +01:00
parent 64aeabf3f6
commit 34a1ab51d0
2 changed files with 8 additions and 8 deletions

View File

@@ -718,7 +718,7 @@ main(int argc, char **argv)
free(tmp);
}
rcv.cachefile = xbps_xasprintf("%s/.xbps-checkvers.plist", rcv.distdir);
rcv.cachefile = xbps_xasprintf("%s/.xbps-checkvers-0.58.plist", rcv.distdir);
argc -= optind;
argv += optind;