Always overwrite files while unpacking, this makes the "essential" obj obsolete.
This helps to catch upgrade problems and simplifies some parts of the code. Bumped XBPS_RELVER because xbps_remove_pkg() has been changed. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100128150850-gcs93su38t6moydn
This commit is contained in:
@ -107,9 +107,10 @@ show_pkg_info(prop_dictionary_t dict)
|
||||
if (obj && prop_object_type(obj) == PROP_TYPE_STRING)
|
||||
printf("Version: %s\n", prop_string_cstring_nocopy(obj));
|
||||
|
||||
obj = prop_dictionary_get(dict, "essential");
|
||||
obj = prop_dictionary_get(dict, "preserve");
|
||||
if (obj && prop_object_type(obj) == PROP_TYPE_BOOL)
|
||||
printf("Essential: %s\n", prop_bool_true(obj) ? "yes" : "no");
|
||||
printf("Preserve files: %s\n",
|
||||
prop_bool_true(obj) ? "yes" : "no");
|
||||
|
||||
obj = prop_dictionary_get(dict, "replaces");
|
||||
if (obj && prop_object_type(obj) == PROP_TYPE_ARRAY) {
|
||||
|
Reference in New Issue
Block a user