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
This commit is contained in:
Hemna 2021-01-12 16:17:11 -05:00
parent 54072a2103
commit 264b7536b4
1 changed files with 3 additions and 3 deletions

View File

@ -5,11 +5,11 @@ export PATH=$PATH:$HOME/.local/bin
export VIRTUAL_ENV=$HOME/.venv3 export VIRTUAL_ENV=$HOME/.venv3
source $VIRTUAL_ENV/bin/activate source $VIRTUAL_ENV/bin/activate
if [ ! -z "${APRS_PLUGINS}" ]; then if [ ! -z "${APRSD_PLUGINS}" ]; then
OLDIFS=$IFS OLDIFS=$IFS
IFS=',' IFS=','
echo "Installing pypi plugins '$APRS_PLUGINS'"; echo "Installing pypi plugins '$APRSD_PLUGINS'";
for plugin in ${APRS_PLUGINS}; do for plugin in ${APRSD_PLUGINS}; do
IFS=$OLDIFS IFS=$OLDIFS
# call your procedure/other scripts here below # call your procedure/other scripts here below
echo "Installing '$plugin'" echo "Installing '$plugin'"