| |
char filename[MAXPATHLEN];
|
| |
|
| |
/* Find the hash and rename the file and create a symlink */
|
| - |
pkg_snprintf(filename, sizeof(filename), "%n-%v.%S",
|
| - |
pkg, pkg, packing_format_to_string(pc->format));
|
| + |
pkg_snprintf(filename, sizeof(filename), "%n-%v.bsd",
|
| + |
pkg, pkg);
|
| |
pkg->sum = pkg_checksum_file(filename,
|
| |
PKG_HASH_TYPE_SHA256_HEX);
|
| - |
pkg_snprintf(hash_dest, sizeof(hash_dest), "%n-%v-%z.%S",
|
| - |
pkg, pkg, pkg, packing_format_to_string(pc->format));
|
| + |
pkg_snprintf(hash_dest, sizeof(hash_dest), "%n-%v-%z.bsd",
|
| + |
pkg, pkg, pkg);
|
| |
|
| |
pkg_debug(1, "Rename the pkg file from: %s to: %s",
|
| |
filename, hash_dest);
|