diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/sys.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/urpm/sys.pm b/urpm/sys.pm index da7736d9..6d2cdec1 100644 --- a/urpm/sys.pm +++ b/urpm/sys.pm @@ -108,6 +108,11 @@ sub find_mntpoints { @mntpoints; } +sub clean_rpmdb_shared_regions { + my ($prefix) = @_; + unlink glob("$prefix/var/lib/rpm/__db.*"); +} + sub proc_mounts() { my @l = cat_('/proc/mounts') or warn "Can't read /proc/mounts: $!\n"; @l; |