summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-27 07:06:51 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-08-27 07:06:51 +0000
commitaf28ed5d71d940d7db7257177a176a202409ede1 (patch)
treef426660c446e9568deffbb065f03a5a26a807497 /Makefile
parent7fbc0faa1cfe9809589d2e0f962db00d2b5d448b (diff)
Enact the init.d script when not installing to a DESTDIR.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2960 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 2b7e1ea..234770f 100644
--- a/Makefile
+++ b/Makefile
@@ -159,7 +159,7 @@ UTILSO = $(UTILS:%=%.o)
CHKCONFIG := $(wildcard /sbin/chkconfig)
UPDATE_RCD := $(wildcard /usr/sbin/update-rc.d)
-ifneq (,$(DESTDIR))
+ifeq (,$(DESTDIR))
ifneq (,$(CHKCONFIG))
ADD_INITD := $(CHKCONFIG) --add zaptel
else