make install overwrites inetrc #43

Closed
skeltoac opened this Issue Oct 25, 2012 · 1 comment

Comments

Projects
None yet
2 participants

While existing ejabberd.cfg and ejabberdctl.cfg are preserved, inetrc is overwritten. Each time I make install I have to fix my inetrc which has a critical change in the host tuple. (I have to replace hostalias with the jabber hostname.)

The simple fix is to treat inetrc the same as ejabberd.cfg in Makefile.in:

    [ -f $(ETCDIR)/inetrc ] \
        && install -b -m 644 $(G_USER) inetrc $(ETCDIR)/inetrc-new \
        || install -b -m 644 $(G_USER) inetrc $(ETCDIR)/inetrc

badlop was assigned Oct 26, 2012

Member

badlop commented Apr 4, 2013

Thanks, I've included your fix in the master branch.

badlop closed this Apr 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment