mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
fix user in postinst script
This commit is contained in:
parent
d824cc375e
commit
b35d1908c7
2
debian/openwebrx.postinst
vendored
2
debian/openwebrx.postinst
vendored
|
|
@ -12,7 +12,7 @@ OWRX_BOOKMARKS_FILE="${OWRX_DATADIR}/bookmarks.json"
|
||||||
case "$1" in
|
case "$1" in
|
||||||
configure|reconfigure)
|
configure|reconfigure)
|
||||||
adduser --system --group --no-create-home --home /nonexistent --quiet "${OWRX_USER}"
|
adduser --system --group --no-create-home --home /nonexistent --quiet "${OWRX_USER}"
|
||||||
usermod -aG plugdev openwebrx
|
usermod -aG plugdev "${OWRX_USER}"
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue