Also remove bootloader config on cleanup
This commit is contained in:
parent
2e5de7acb5
commit
008ab43dc0
2 changed files with 2 additions and 1 deletions
|
@ -187,4 +187,4 @@ if [[ $type == 'archlinux' ]]; then
|
|||
|
||||
cleanup_and_quit
|
||||
|
||||
fi
|
||||
fi
|
|
@ -320,6 +320,7 @@ deploy () {
|
|||
for deployment in $remove_deployments; do
|
||||
btrfs property set -f -ts $(readlink -m $arkanium_dir/deployments/$deployment) ro false
|
||||
rm -rf $(readlink -m $arkanium_dir/deployments/$deployment)
|
||||
rm /boot/loader/entries/$deployment.conf
|
||||
grep -rv $deployment $(readline -m $arkanium_dir/tracker) > $arkanium_dir/tracker
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue