summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-27 07:15:08 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-27 07:15:08 +0000
commit6de48adbd436283f77b865f836bb9fcebb433265 (patch)
treee0e10def8acec26dbb94cd5bc29fb62a86ab4735 /Makefile
parent76667a6a09952a6b62c0f034b703ebecd745c8f7 (diff)
Enact the init.d script when not installing to a DESTDIR.
Merged revisions 2960 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@2961 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4fc86be..48cdd0f 100644
--- a/Makefile
+++ b/Makefile
@@ -188,7 +188,7 @@ CFLAGS+=-DZAPTEL_CONFIG=\"$(CONFIG_FILE)\"
CHKCONFIG := $(wildcard /sbin/chkconfig)
UPDATE_RCD := $(wildcard /usr/sbin/update-rc.d)
-ifneq (,$(DESTDIR))
+ifeq (,$(DESTDIR))
ifneq (,$(CHKCONFIG))
ADD_INITD := $(CHKCONFIG) --add zaptel
else