summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.zshrc b/.zshrc
index e165dea..76f142e 100644
--- a/.zshrc
+++ b/.zshrc
@@ -453,13 +453,13 @@ chupdate() {
for chrootdir in "$__CHROOTS/"*(/); do
chupdate "$(basename "$chrootdir")"
done
- echo ":: Cleaning up ..."
- chclean
else
for id in "$@"; do
chrootdir="$__CHROOTS/$id"
echo ":: Updating $id"
linux${id[1,2]} sudo mkarchroot -u "$chrootdir/root" -- --noconfirm
+ echo ":: Cleaning up ..."
+ chclean $id
done
fi
}