summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-09 16:26:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-09 16:26:31 +0000
commit00eeca637ca504394a4a844d33b2984e0d054a9e (patch)
tree43b4347f681612bd299ca392948a98dc0bf7b98b /perl-install/pkgs.pm
parent4157a898b6e5289040024a44a2f9254d0a881933 (diff)
downloaddrakx-00eeca637ca504394a4a844d33b2984e0d054a9e.tar
drakx-00eeca637ca504394a4a844d33b2984e0d054a9e.tar.gz
drakx-00eeca637ca504394a4a844d33b2984e0d054a9e.tar.bz2
drakx-00eeca637ca504394a4a844d33b2984e0d054a9e.tar.xz
drakx-00eeca637ca504394a4a844d33b2984e0d054a9e.zip
have same rpm config as when installing pkgs
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 869384677..ea72bc3ff 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -1331,7 +1331,10 @@ sub remove_raw {
my ($to_remove, $callback, %run_transaction_options) = @_;
log::l("removing: " . join(' ', @$to_remove));
-
+
+ URPM::read_config_files();
+ URPM::add_macro(URPM::expand('__dbi_cdb %__dbi_cdb nofsync'));
+
my $db = open_rpm_db_rw() or die "error opening RPM database: ", URPM::rpmErrorString();
my $trans = $db->create_transaction($::prefix);