mirror of
https://github.com/craigerl/aprsd.git
synced 2024-12-21 17:11:01 -05:00
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:
parent
54072a2103
commit
264b7536b4
@ -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'"
|
||||
|
Loading…
Reference in New Issue
Block a user