forked from mirrors/nixpkgs
parent
0860565ee0
commit
492101dfce
|
@ -248,6 +248,7 @@ if ($action eq "destroy") {
|
|||
|
||||
safeRemoveTree($profileDir) if -e $profileDir;
|
||||
safeRemoveTree($gcRootsDir) if -e $gcRootsDir;
|
||||
system("chattr", "-i", "$root/var/empty") if -e $root;
|
||||
safeRemoveTree($root) if -e $root;
|
||||
unlink($confFile) or die;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue