From fbab2f6dc96eff13f742ecd5b6eb6d63023ebc83 Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Sun, 27 Jan 2019 19:20:33 -0500 Subject: [PATCH] add symlink to ejabberdctl --- src/extras/Makefile.install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/extras/Makefile.install b/src/extras/Makefile.install index ef70784..b3c9daa 100644 --- a/src/extras/Makefile.install +++ b/src/extras/Makefile.install @@ -36,8 +36,9 @@ APT_TOOL=apt-get -yq FEDORA_YUM_TOOL=dnf -y CENTOS_YUM_TOOL=yum -y RPM_TOOL=rpm -EJABBERD_URL=https://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/18.12.1/ -EJABBERD_RPM=ejabberd-18.12.1-0.x86_64.rpm +EJABBERD_VERSION=18.12.1 +EJABBERD_URL=https://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/$(EJABBERD_VERSION)/ +EJABBERD_RPM=ejabberd-$(EJABBERD_VERSION)-0.x86_64.rpm # Debian dependencies DEBS = \ @@ -282,6 +283,7 @@ install_ejabberd: $(RPM_TOOL) -i /tmp/$(EJABBERD_RPM) systemctl enable ejabberd.service systemctl start ejabberd.service + ln -sf /opt/ejabberd-$(EJABBERD_VERSION)/bin/ejabberdctl /usr/local/sbin/ejabberdctl # Fedora/CentOS install_rpms_fedora: -- 2.11.0