[asterisk-commits] qwell: branch 1.2 r71847 - /branches/1.2/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 26 12:49:14 CDT 2007


Author: qwell
Date: Tue Jun 26 12:49:14 2007
New Revision: 71847

URL: http://svn.digium.com/view/asterisk?view=rev&rev=71847
Log:
Don't try to install an init script that doesn't exist.

Reported to me on #asterisk on Freenode IRC.

Modified:
    branches/1.2/Makefile

Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.2/Makefile?view=diff&rev=71847&r1=71846&r2=71847
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Tue Jun 26 12:49:14 2007
@@ -864,7 +864,9 @@
 		$(INSTALL) -m 755 contrib/init.d/rc.redhat.asterisk /etc/rc.d/init.d/asterisk; \
 		/sbin/chkconfig --add asterisk; \
 	elif [ -d /etc/init.d ]; then \
-		$(INSTALL) -m 755 init.asterisk /etc/init.d/asterisk; \
+		echo "Only distros that use rc.d based init scripts are currently supported."; \
+		echo "You may be able to copy one of the scripts in contrib/init.d/ into your /etc/init.d/ directory."; \
+		exit 1; \
 	fi 
 
 dont-optimize: install




More information about the asterisk-commits mailing list