]> git.plutz.net Git - blast/commitdiff
account for different chromium binary name on raspbian
authorPaul Hänsch <paul@plutz.net>
Thu, 5 Sep 2019 09:10:18 +0000 (11:10 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 5 Sep 2019 09:10:18 +0000 (11:10 +0200)
modules/nodm.mk

index 584759243276ce846cc4469850919ee22028090b..2d3b6ee12c4f46693939f346ba86c782ed3fc9d1 100644 (file)
@@ -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