Merge "Makefile: remove OSARCH check for init install"

This commit is contained in:
zuul
2016-05-23 16:16:04 -05:00
committed by Gerrit Code Review

View File

@@ -824,7 +824,6 @@ install-logrotate:
rm -f contrib/scripts/asterisk.logrotate.tmp
config:
@if [ "${OSARCH}" = "linux-gnu" -o "${OSARCH}" = "kfreebsd-gnu" ]; then \
if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; then \
./build_tools/install_subst contrib/init.d/rc.redhat.asterisk "$(DESTDIR)/etc/rc.d/init.d/asterisk"; \
if [ ! -f "$(DESTDIR)/etc/sysconfig/asterisk" ] ; then \
@@ -875,9 +874,6 @@ config:
echo "Slackware is not currently supported, although an init script does exist for it."; \
else \
echo "We could not install init scripts for your distribution." ; \
fi \
else \
echo "We could not install init scripts for your operating system." ; \
fi
sounds: