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 = \
$(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: