diff --git a/configure/modules/RULES_E3 b/configure/modules/RULES_E3 index a59c9d8933f8087559cdc7daf88571fc0af6df08..d73873eeb9e892b74f60b6a978a2345d08d0b572 100644 --- a/configure/modules/RULES_E3 +++ b/configure/modules/RULES_E3 @@ -38,7 +38,6 @@ install_module: db ## Uninstall : $(E3_MODULE_NAME) uninstall: conf $(QUIET) $(SUDOBASH) '$(E3_MODULE_MAKE_CMDS) uninstall' - $(SUDO) find $(E3_SITELIBS_PATH) -xtype l -delete cellinstall: install_module @@ -71,7 +70,7 @@ conf: module_name_check ## We should check that the module name satisfies a few conditions before we go on. module_name_check: -ifneq ($(shell echo $(E3_MODULE_NAME) | grep '^[a-z_][a-z0-9_]\+$$' &> /dev/null; echo $$?),1) +ifneq ($(shell echo $(E3_MODULE_NAME) | grep '^[a-z_][a-z0-9_]\+$$' &> /dev/null; echo $$?),0) $(error E3_MODULE_NAME '$(E3_MODULE_NAME)' is not valid. It should consist only of lowercase letters, numbers, and underscores.) endif