commit ff5ebdb400d018e1d031c832c34e95c1a96f2800
parent 00055f0322d33a0c18902daf71202ded2cf82c1f
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Thu, 16 Dec 2021 13:33:21 +0000
Flipped condition for installed packages in Alpine containers
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/zsh-functions/confz_containers_init b/zsh-functions/confz_containers_init
@@ -768,15 +768,13 @@ confz_container_alpine_packages_installed_check() {
(( $world[(I)${pkg}] )) || missing+=( $pkg )
done
- unify to_install "${(F)missing}"
-
do_command=(
cd $vars[svscan_dir]/container.$vars[image_name].sysroot
container_sysroot_run
apk add $missing
)
- (( $#missing ))
+ (( $#missing == 0 ))
}
# --- Void ---