Module: kamailio
Branch: master
Commit: b61994af4c3765e18fa1b200289d65f64530f815
URL:
https://github.com/kamailio/kamailio/commit/b61994af4c3765e18fa1b200289d65f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-11-07T13:15:46+01:00
auth_radius: fixed sample dictionary file install
- avoid overwriting previous versions of the dictionary
---
Modified: src/modules/auth_radius/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/b61994af4c3765e18fa1b200289d65f…
Patch:
https://github.com/kamailio/kamailio/commit/b61994af4c3765e18fa1b200289d65f…
---
diff --git a/src/modules/auth_radius/Makefile b/src/modules/auth_radius/Makefile
index 0e616eede1..983fe62c2c 100644
--- a/src/modules/auth_radius/Makefile
+++ b/src/modules/auth_radius/Makefile
@@ -21,8 +21,8 @@ install-cfg:
@$(call try_err, $(INSTALL_TOUCH) \
"$(cfg_prefix)/$(cfg_dir)dictionary.$(CFG_NAME).sample" )
@$(call try_err, $(INSTALL_CFG) \
- "cfg/dictionary.$(CFG_NAME).sample" \
- "$(cfg_prefix)/$(cfg_dir)" )
+ "cfg/dictionary.$(CFG_NAME)" \
+ "$(cfg_prefix)/$(cfg_dir)dictionary.$(CFG_NAME).sample" )
@if [ -z "${skip_cfg_install}" -a \
! -f "$(cfg_prefix)/$(cfg_dir)dictionary.$(CFG_NAME)" ]; then \
mv -f "$(cfg_prefix)/$(cfg_dir)dictionary.$(CFG_NAME).sample" \