From effcf5366d797e5b3171bd27283eb576a2ddefa4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 5 Sep 2019 11:10:18 +0200 Subject: [PATCH] account for different chromium binary name on raspbian --- modules/nodm.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/nodm.mk b/modules/nodm.mk index 5847592..2d3b6ee 100644 --- a/modules/nodm.mk +++ b/modules/nodm.mk @@ -20,13 +20,15 @@ endif ifdef webui _config: _nodm_cfg ifdef raspi + nodm_browser := chromium-browser PACKAGES += chromium-browser else + nodm_browser := chromium PACKAGES += chromium endif define DEBCONF += -nodm nodm/xsession string /usr/bin/chromium --app=${webui} +nodm nodm/xsession string "/usr/bin/${nodm_browser} --app=${webui}" endef endif -- 2.39.2