mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Avoid wrong failing cases on make install (#468)
This commit is contained in:
parent
df3862cf84
commit
e57c1896f7
19
Makefile.in
19
Makefile.in
@ -137,9 +137,9 @@ install: all
|
|||||||
$(INSTALL) -m 550 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
|
$(INSTALL) -m 550 $(G_USER) ejabberdctl.example $(SBINDIR)/ejabberdctl
|
||||||
# Elixir binaries
|
# Elixir binaries
|
||||||
[ -d $(BINDIR) ] || $(INSTALL) -d -m 755 $(BINDIR)
|
[ -d $(BINDIR) ] || $(INSTALL) -d -m 755 $(BINDIR)
|
||||||
-[ -f deps/elixir/bin/iex ] && $(INSTALL) -m 550 $(G_USER) deps/elixir/bin/iex $(BINDIR)/iex
|
[ -f deps/elixir/bin/iex ] && $(INSTALL) -m 550 $(G_USER) deps/elixir/bin/iex $(BINDIR)/iex || true
|
||||||
-[ -f deps/elixir/bin/elixir ] && $(INSTALL) -m 550 $(G_USER) deps/elixir/bin/elixir $(BINDIR)/elixir
|
[ -f deps/elixir/bin/elixir ] && $(INSTALL) -m 550 $(G_USER) deps/elixir/bin/elixir $(BINDIR)/elixir || true
|
||||||
-[ -f deps/elixir/bin/mix ] && $(INSTALL) -m 550 $(G_USER) deps/elixir/bin/mix $(BINDIR)/mix
|
[ -f deps/elixir/bin/mix ] && $(INSTALL) -m 550 $(G_USER) deps/elixir/bin/mix $(BINDIR)/mix || true
|
||||||
#
|
#
|
||||||
# Init script
|
# Init script
|
||||||
$(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*" \
|
$(SED) -e "s*@ctlscriptpath@*$(SBINDIR)*" \
|
||||||
@ -168,22 +168,23 @@ install: all
|
|||||||
$(INSTALL) -m 750 $(O_USER) tools/captcha.sh $(PBINDIR)
|
$(INSTALL) -m 750 $(O_USER) tools/captcha.sh $(PBINDIR)
|
||||||
$(INSTALL) -m 750 $(O_USER) tools/joincluster $(PBINDIR)
|
$(INSTALL) -m 750 $(O_USER) tools/joincluster $(PBINDIR)
|
||||||
$(INSTALL) -m 750 $(O_USER) tools/leavecluster $(PBINDIR)
|
$(INSTALL) -m 750 $(O_USER) tools/leavecluster $(PBINDIR)
|
||||||
-[ -f deps/p1_pam/priv/bin/epam ] \
|
[ -f deps/p1_pam/priv/bin/epam ] \
|
||||||
&& $(INSTALL) -m 750 $(O_USER) deps/p1_pam/priv/bin/epam $(PBINDIR)
|
&& $(INSTALL) -m 750 $(O_USER) deps/p1_pam/priv/bin/epam $(PBINDIR) \
|
||||||
|
|| true
|
||||||
#
|
#
|
||||||
# Binary system libraries
|
# Binary system libraries
|
||||||
$(INSTALL) -d $(SODIR)
|
$(INSTALL) -d $(SODIR)
|
||||||
$(INSTALL) -m 644 $(DLLs) $(SODIR)
|
$(INSTALL) -m 644 $(DLLs) $(SODIR)
|
||||||
-[ -f $(SODIR)/jiffy.so ] && (cd $(PRIVDIR); ln -s lib/jiffy.so; true)
|
[ -f $(SODIR)/jiffy.so ] && (cd $(PRIVDIR); ln -s lib/jiffy.so; true) || true
|
||||||
-[ -f $(SODIR)/sqlite3_drv.so ] && (cd $(PRIVDIR); ln -s lib/sqlite3_drv.so; true)
|
[ -f $(SODIR)/sqlite3_drv.so ] && (cd $(PRIVDIR); ln -s lib/sqlite3_drv.so; true) || true
|
||||||
#
|
#
|
||||||
# Translated strings
|
# Translated strings
|
||||||
$(INSTALL) -d $(MSGSDIR)
|
$(INSTALL) -d $(MSGSDIR)
|
||||||
$(INSTALL) -m 644 priv/msgs/*.msg $(MSGSDIR)
|
$(INSTALL) -m 644 priv/msgs/*.msg $(MSGSDIR)
|
||||||
#
|
#
|
||||||
# Copy lite.sql
|
# Copy lite.sql
|
||||||
-[ -d deps/sqlite3 ] && $(INSTALL) -d $(SQLDIR)
|
[ -d deps/sqlite3 ] && $(INSTALL) -d $(SQLDIR) || true
|
||||||
-[ -d deps/sqlite3 ] && $(INSTALL) -m 644 sql/lite.sql $(SQLDIR)
|
[ -d deps/sqlite3 ] && $(INSTALL) -m 644 sql/lite.sql $(SQLDIR) || true
|
||||||
#
|
#
|
||||||
# Spool directory
|
# Spool directory
|
||||||
$(INSTALL) -d -m 750 $(O_USER) $(SPOOLDIR)
|
$(INSTALL) -d -m 750 $(O_USER) $(SPOOLDIR)
|
||||||
|
Loading…
Reference in New Issue
Block a user