mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
Makefile: remove OSARCH check for init install
There are more specific checks for the platform. Specifically this allows installing OS/X init scripts. ASTERISK-26038 #close Change-Id: If08933621145b10362a0cfe73c079301d9c13f50 Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user