diff options
author | Florian Pritz <bluewind@server-speed.net> | 2011-02-16 21:27:42 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@server-speed.net> | 2011-02-16 21:27:42 +0100 |
commit | de4f957f3396eb19e038e24a4cbdb7a3bd6ec938 (patch) | |
tree | 42c6e9638eb26816558b607738676b4086e1c7ce | |
parent | d16669342859464f34d5d42a9cacc846d1439cc8 (diff) | |
download | dotfiles-de4f957f3396eb19e038e24a4cbdb7a3bd6ec938.tar.gz dotfiles-de4f957f3396eb19e038e24a4cbdb7a3bd6ec938.tar.xz |
fix placement of chclean in chupdate
Run cleanup even if we only update a single chroot
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
-rw-r--r-- | .zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |