don't use recursive (lintian)

This commit is contained in:
Jakob Ketterl 2021-02-11 00:24:02 +01:00
parent 0fd172edc3
commit 0cf67d5e2c

View File

@ -11,7 +11,7 @@ case "$1" in
# create OpenWebRX data directory and set the correct permissions # create OpenWebRX data directory and set the correct permissions
if [ ! -d "${OWRX_DATADIR}" ] && [ ! -L "${OWRX_DATADIR}" ]; then mkdir "${OWRX_DATADIR}"; fi if [ ! -d "${OWRX_DATADIR}" ] && [ ! -L "${OWRX_DATADIR}" ]; then mkdir "${OWRX_DATADIR}"; fi
chown -R "${OWRX_USER}". ${OWRX_DATADIR} chown "${OWRX_USER}". ${OWRX_DATADIR}
# create initial openwebrx user # create initial openwebrx user
openwebrx-admin adduser --noninteractive --silent --user admin openwebrx-admin adduser --noninteractive --silent --user admin