summaryrefslogtreecommitdiffstats
path: root/package/python-web2py/python-web2py.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-web2py/python-web2py.mk')
-rw-r--r--package/python-web2py/python-web2py.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/python-web2py/python-web2py.mk b/package/python-web2py/python-web2py.mk
index 3f9d089bcd..887925b64e 100644
--- a/package/python-web2py/python-web2py.mk
+++ b/package/python-web2py/python-web2py.mk
@@ -36,7 +36,11 @@ define PYTHON_WEB2PY_GENERATE_PASSWORD
save_password($(BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD),8000)'
endef
+ifeq ($(BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN),y)
PYTHON_WEB2PY_POST_BUILD_HOOKS += PYTHON_WEB2PY_GENERATE_PASSWORD
+else
+PYTHON_WEB2PY_EXCLUSIONS += applications/admin
+endif
define PYTHON_WEB2PY_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/var/www/web2py
OpenPOWER on IntegriCloud