From 264b7536b431ea17aa86e01342eea80318e1f542 Mon Sep 17 00:00:00 2001 From: Hemna Date: Tue, 12 Jan 2021 16:17:11 -0500 Subject: [PATCH] Updated docker run.sh script This updates the run.sh script during container start time to change the env var APRS_PLUGINS to APRSD_PLUGINS --- build/bin/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/bin/run.sh b/build/bin/run.sh index a0d155c..be6b8c6 100755 --- a/build/bin/run.sh +++ b/build/bin/run.sh @@ -5,11 +5,11 @@ export PATH=$PATH:$HOME/.local/bin export VIRTUAL_ENV=$HOME/.venv3 source $VIRTUAL_ENV/bin/activate -if [ ! -z "${APRS_PLUGINS}" ]; then +if [ ! -z "${APRSD_PLUGINS}" ]; then OLDIFS=$IFS IFS=',' - echo "Installing pypi plugins '$APRS_PLUGINS'"; - for plugin in ${APRS_PLUGINS}; do + echo "Installing pypi plugins '$APRSD_PLUGINS'"; + for plugin in ${APRSD_PLUGINS}; do IFS=$OLDIFS # call your procedure/other scripts here below echo "Installing '$plugin'"