Skip to content

Commit

Permalink
import.sh shall honor install prefix (#174)
Browse files Browse the repository at this point in the history
Signed-off-by: Janos SUTO <sj@acts.hu>
  • Loading branch information
jsuto authored Aug 28, 2024
1 parent 891903b commit e62aa06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions util/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ all:
sed -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/indexer.delta.sh.in > $(srcdir)/indexer.delta.sh
sed -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/indexer.main.sh.in > $(srcdir)/indexer.main.sh
sed -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/indexer.attachment.sh.in > $(srcdir)/indexer.attachment.sh
sed -e "s%SYSCONFDIR%$(sysconfdir)%" $(srcdir)/import.sh.in > $(srcdir)/import.sh

install:
$(INSTALL) -m 0755 $(srcdir)/automated-search.php $(DESTDIR)$(libexecdir)/piler
Expand Down
2 changes: 1 addition & 1 deletion util/import.sh → util/import.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ pushd /var/piler/imap

[[ "${FLOCKER}" != "$0" ]] && exec env FLOCKER="$0" flock -en "$0" "$0" "$@"

imapfetch.py -i
imapfetch.py -i -c SYSCONFDIR/piler/piler.conf

0 comments on commit e62aa06

Please sign in to comment.