From 5e55efdb42fdc0751658470a5b6715d37e6da891 Mon Sep 17 00:00:00 2001 From: thespad Date: Sat, 7 Dec 2024 22:08:13 +0000 Subject: [PATCH] Fix with-contenv comparison check --- docker-mods.v3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-mods.v3 b/docker-mods.v3 index 91db472..0844269 100755 --- a/docker-mods.v3 +++ b/docker-mods.v3 @@ -5,7 +5,7 @@ # Version 3 # 2022-09-25 - Initial Release -MOD_SCRIPT_VER="3.20241018" +MOD_SCRIPT_VER="3.20241207" # Define custom folder paths SCRIPTS_DIR="/custom-cont-init.d" @@ -490,7 +490,7 @@ fi if [[ -z ${LSIO_READ_ONLY_FS} ]] && [[ -z ${LSIO_NON_ROOT_USER} ]]; then # Run alias creation functions - if [[ ! -f "/usr/bin/with-contenv" ]]; then + if [[ ! -f "/usr/bin/with-contenv" ]] || [[ -L "/usr/bin/with-contenv" ]]; then create_with_contenv_alias fi