mirror of
https://github.com/craigerl/aprsd.git
synced 2024-09-28 08:06:37 -04: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
|
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'"
|
||||||
|
Loading…
Reference in New Issue
Block a user