From 703b776e136a8def262095bb7767243c21d7efcd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Sat, 24 Aug 2019 21:02:10 +0200 Subject: [PATCH] rule dependency --- modules/nodm.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/nodm.mk b/modules/nodm.mk index 3a35901..5847592 100644 --- a/modules/nodm.mk +++ b/modules/nodm.mk @@ -36,6 +36,10 @@ _nodm_cfg: ${CFGROOT} rm "$${CFGROOT}/etc/default/nodm" chroot "$${CFGROOT}" dpkg-reconfigure --default-priority -u nodm +ifdef users + _nodm_user: _users +endif + _nodm_user: ${CFGROOT} chroot "${CFGROOT}" adduser "${nodm_user}" video chroot "${CFGROOT}" adduser "${nodm_user}" input -- 2.39.2