summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-01-10 04:18:18 +0000
committerMark Spencer <markster@digium.com>2005-01-10 04:18:18 +0000
commit9a3304c65d9630117b1a9dac7c3839976d4a3c88 (patch)
tree7063d8a763bc08de9f40cd89209bcd85ce79970c /Makefile
parent77dafbed411d5693e5a5bc127b0098d7bfdf5b66 (diff)
Fix voicemail symlinks (bug #3024)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 34b017bfa..b336dce57 100755
--- a/Makefile
+++ b/Makefile
@@ -410,15 +410,7 @@ bininstall: all
for x in $(SUBDIRS); do $(MAKE) -C $$x install || exit 1 ; done
install -d $(DESTDIR)$(ASTHEADERDIR)
install -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
- rm -f $(DESTDIR)$(ASTVARLIBDIR)/sounds/vm
rm -f $(DESTDIR)$(ASTVARLIBDIR)/sounds/voicemail
- if [ ! -h $(DESTDIR)$(ASTSPOOLDIR)/vm ] && [ -d $(DESTDIR)$(ASTSPOOLDIR)/vm ]; then \
- mv $(DESTDIR)$(ASTSPOOLDIR)/vm $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default; \
- else \
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default; \
- rm -f $(DESTDIR)$(ASTSPOOLDIR)/vm; \
- fi
- ln -s $(ASTSPOOLDIR)/voicemail/default $(DESTDIR)$(ASTSPOOLDIR)/vm
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/sounds
mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv
mkdir -p $(DESTDIR)$(ASTVARLIBDIR)/keys
@@ -433,7 +425,6 @@ bininstall: all
else \
echo "You need to do cvs update -d not just cvs update" ; \
fi
- ( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds ; ln -s $(ASTSPOOLDIR)/vm . )
( cd $(DESTDIR)$(ASTVARLIBDIR)/sounds ; ln -s $(ASTSPOOLDIR)/voicemail . )
if [ -f mpg123-0.59r/mpg123 ]; then make -C mpg123-0.59r install; fi
@echo " +---- Asterisk Installation Complete -------+"