Skip to content

Commit

Permalink
fix #1 #2 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
sdfg2 committed Jul 20, 2014
1 parent 69b4421 commit 81c2700
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions net-im/ejabberd/ejabberd-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ src_prepare() {

# correct path to captcha script in default ejabberd.cfg
# sed -e 's|\(captcha_cmd: "\)".*"|\1/usr/'$(get_libdir)'/erlang/lib/'${P}'/priv/bin/captcha.sha"}|' \
sed -e 's|.*\(captcha_cmd: \).*|\1/usr/'$(get_libdir)'/erlang/lib/'${P}'/priv/bin/captcha.sha"|' \
sed -e 's|.*\(captcha_cmd: \).*|\1/usr/'$(get_libdir)'/erlang/lib/'${P}'/priv/bin/captcha.sh"|' \
-i ejabberd.yml.example || die "Failed sed ejabberd.yml.example"
eaclocal
eautoconf
Expand All @@ -91,7 +91,7 @@ src_configure() {
$(use_enable nif) \
$(use_enable odbc) \
$(use_enable mysql) \
$(use_enable pgsql) \
$(use_enable pgsql postgres) \
$(use_enable pam) \
$(use_enable zlib) \
$(use_enable stun) \
Expand Down Expand Up @@ -120,6 +120,8 @@ src_install() {
cd "${WORKDIR}/${P}/doc"
dodoc release_notes_*.txt

cp -R "${WORKDIR}/${P}/sql" "/usr/share/ejabberd"

#dodir /var/lib/ejabberd
newinitd "${FILESDIR}/${PN}-3.initd" ${PN}
newconfd "${FILESDIR}/${PN}-3.confd" ${PN}
Expand Down

0 comments on commit 81c2700

Please sign in to comment.