Fixed docker setup.sh comparison

This commit is contained in:
Hemna 2024-04-24 19:11:59 -04:00
parent c4b17eee9d
commit a5680a7cbb
3 changed files with 2 additions and 5 deletions

View File

@ -46,8 +46,7 @@ RUN echo "PATH=\$PATH:/usr/games" >> /app/.bashrc
RUN which aprsd
RUN aprsd sample-config > /config/aprsd.conf
ADD bin/run.sh /app
ADD bin/listen.sh /app
ADD bin/setup.sh /app
ADD bin/admin.sh /app
# For the web admin interface

View File

@ -46,8 +46,6 @@ RUN which aprsd
RUN aprsd sample-config > /config/aprsd.conf
ADD bin/setup.sh /app
ADD bin/run.sh /app
ADD bin/listen.sh /app
ADD bin/admin.sh /app
EXPOSE 8000

View File

@ -6,7 +6,7 @@ set -x
# what command you want to run in the container
COMMAND="server"
if [ ! -z "$@" ]; then
if [ ! -z "${@+x}" ]; then
COMMAND=$@
fi