remove keyring in finalize()
This commit is contained in:
parent
766f0fa30f
commit
e61d6533c3
|
@ -616,6 +616,9 @@ sub finalize {
|
||||||
unlink $file;
|
unlink $file;
|
||||||
rename_file($file.'.aab_orig', $file);
|
rename_file($file.'.aab_orig', $file);
|
||||||
|
|
||||||
|
print "Removing weak temporary pacman keyring...\n";
|
||||||
|
rmtree("$rootdir/etc/pacman.d/gnupg");
|
||||||
|
|
||||||
my $sizestr = $self->run_command("du -sm $rootdir", undef, 1);
|
my $sizestr = $self->run_command("du -sm $rootdir", undef, 1);
|
||||||
my $size;
|
my $size;
|
||||||
if ($sizestr =~ m/^(\d+)\s+\Q$rootdir\E$/) {
|
if ($sizestr =~ m/^(\d+)\s+\Q$rootdir\E$/) {
|
||||||
|
|
Loading…
Reference in New Issue