diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | kamailio-controller.lua | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -25,8 +25,10 @@ dist: $(tarball) install: mkdir -p "$(install_dir)" cp -a $(APP_DIST) "$(install_dir)" - for i in $$(ls -1 $(DESTDIR)/$(acflibdir)/db-*.lsp); do\ - ln -sf $$i $(install_dir)/$$(echo "$$(basename $$i)" | sed "s/db/$(APP_NAME)/");\ + for i in $$(ls -1 $(DESTDIR)/$(acflibdir)/db-*.lsp); do \ + if [ "$$(basename $$i)" != "db-listdatabases-html.lsp" ]; then \ + ln -sf $$i $(install_dir)/$$(echo "$$(basename $$i)" | sed "s/db/$(APP_NAME)/"); \ + fi \ done $(tarball): $(DISTFILES) diff --git a/kamailio-controller.lua b/kamailio-controller.lua index 985eb39..7f7073c 100644 --- a/kamailio-controller.lua +++ b/kamailio-controller.lua @@ -46,7 +46,9 @@ end -- Use acf-db to allow editing of the database dbcontrollerfunctions = require("dbcontrollerfunctions") for n,f in pairs(dbcontrollerfunctions) do - mymodule[n] = f + if n ~= "listdatabases" then + mymodule[n] = f + end end return mymodule |