25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Don't overwrite inetrc when installing (thanks to skeltoac)

This commit is contained in:
Badlop 2013-04-04 13:36:15 +02:00
parent 65298d34c9
commit cbd3062365

View File

@ -198,7 +198,9 @@ install: all
[ -f $(ETCDIR)/ejabberdctl.cfg ] \
&& install -b -m 640 $(G_USER) ejabberdctl.cfg.example $(ETCDIR)/ejabberdctl.cfg-new \
|| install -b -m 640 $(G_USER) ejabberdctl.cfg.example $(ETCDIR)/ejabberdctl.cfg
install -b -m 644 $(G_USER) inetrc $(ETCDIR)/inetrc
[ -f $(ETCDIR)/inetrc ] \
&& install -b -m 644 $(G_USER) inetrc $(ETCDIR)/inetrc-new \
|| install -b -m 644 $(G_USER) inetrc $(ETCDIR)/inetrc
#
# Administration script
[ -d $(SBINDIR) ] || install -d -m 755 $(SBINDIR)