From b35d1908c789a1db2561640378aa5d7096b1b1dc Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Mon, 31 May 2021 00:44:28 +0200 Subject: [PATCH] fix user in postinst script --- debian/openwebrx.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/openwebrx.postinst b/debian/openwebrx.postinst index 2ad8e3c..935a0fe 100755 --- a/debian/openwebrx.postinst +++ b/debian/openwebrx.postinst @@ -12,7 +12,7 @@ OWRX_BOOKMARKS_FILE="${OWRX_DATADIR}/bookmarks.json" case "$1" in configure|reconfigure) 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 if [ ! -d "${OWRX_DATADIR}" ] && [ ! -L "${OWRX_DATADIR}" ]; then mkdir "${OWRX_DATADIR}"; fi