summaryrefslogtreecommitdiffstats
path: root/ch
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-10-15 13:58:02 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-10-15 13:58:02 +0200
commita054f5e545046db7b78b34eef95b3bfc812abcb6 (patch)
tree83c6a925004802b71929b93d5e3e7f4bedc6ac35 /ch
parent58443e7cbeef7e7db2533c90f50e6c95140b6d52 (diff)
downloadbin-a054f5e545046db7b78b34eef95b3bfc812abcb6.tar.gz
bin-a054f5e545046db7b78b34eef95b3bfc812abcb6.tar.xz
ch: Delete /var/lib/portables if it exists
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'ch')
-rwxr-xr-xch1
1 files changed, 1 insertions, 0 deletions
diff --git a/ch b/ch
index cee806a..2211fb7 100755
--- a/ch
+++ b/ch
@@ -139,6 +139,7 @@ chkill() {
__chrootalias_resolve "$1" || return
for dir in "$CHROOTS/$chroot/"*/; do
+ sudo btrfs subvolume delete "$dir/var/lib/portables" || true
sudo btrfs subvolume delete "$dir/var/lib/machines" || true
sudo btrfs subvolume delete "$dir"
done