mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-11 04:18:21 +00:00
Merge "Makefile: remove OSARCH check for init install"
This commit is contained in:
4
Makefile
4
Makefile
@@ -824,7 +824,6 @@ install-logrotate:
|
|||||||
rm -f contrib/scripts/asterisk.logrotate.tmp
|
rm -f contrib/scripts/asterisk.logrotate.tmp
|
||||||
|
|
||||||
config:
|
config:
|
||||||
@if [ "${OSARCH}" = "linux-gnu" -o "${OSARCH}" = "kfreebsd-gnu" ]; then \
|
|
||||||
if [ -f /etc/redhat-release -o -f /etc/fedora-release ]; 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"; \
|
./build_tools/install_subst contrib/init.d/rc.redhat.asterisk "$(DESTDIR)/etc/rc.d/init.d/asterisk"; \
|
||||||
if [ ! -f "$(DESTDIR)/etc/sysconfig/asterisk" ] ; then \
|
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."; \
|
echo "Slackware is not currently supported, although an init script does exist for it."; \
|
||||||
else \
|
else \
|
||||||
echo "We could not install init scripts for your distribution." ; \
|
echo "We could not install init scripts for your distribution." ; \
|
||||||
fi \
|
|
||||||
else \
|
|
||||||
echo "We could not install init scripts for your operating system." ; \
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sounds:
|
sounds:
|
||||||
|
|||||||
Reference in New Issue
Block a user