libxbps: preserve config file if they exist for replaced pkgs.

This commit is contained in:
Juan RP
2011-10-30 10:32:56 +01:00
parent 07d47ab09a
commit 858e616f41
4 changed files with 30 additions and 6 deletions

View File

@ -134,6 +134,8 @@ xbps_transaction_package_replace(prop_dictionary_t transd)
}
prop_dictionary_set_bool(pkg_repod,
"automatic-install", instd_auto);
prop_dictionary_set_bool(pkg_repod,
"replacing-package", true);
}
/*
* Add package dictionary into the transaction and mark