From: Paul Hänsch Date: Sat, 24 Aug 2019 19:02:10 +0000 (+0200) Subject: rule dependency X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=703b776e136a8def262095bb7767243c21d7efcd;p=blast rule dependency --- 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