Merge "Makefile: remove OSARCH check for init install" into 13

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

View File

@@ -825,7 +825,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 \
@@ -876,9 +875,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: