mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:10:13 +01:00
more debian packaging fixes
This commit is contained in:
parent
5a695640eb
commit
3ad6c3bc66
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,4 +1,4 @@
|
||||
piler (0.1.25-2) UNRELEASED; urgency=low
|
||||
piler (0.1.25-3) UNRELEASED; urgency=low
|
||||
|
||||
* Improved deb package of piler build 845.
|
||||
|
||||
|
2
debian/postinst
vendored
2
debian/postinst
vendored
@ -31,6 +31,8 @@ fix_permissions() {
|
||||
chmod +s /usr/local/bin/pilerexport /usr/local/bin/pilerpurge /usr/local/bin/pilerimport /usr/local/bin/pilerget /usr/local/bin/pileraget /usr/local/bin/reindex
|
||||
chgrp piler /usr/local/etc/piler.conf
|
||||
chmod 640 /usr/local/etc/piler.conf
|
||||
|
||||
chown piler:piler /var/piler/imap /var/piler/sphinx /var/piler/stat
|
||||
}
|
||||
|
||||
|
||||
|
@ -27,6 +27,7 @@ INSTALL = @INSTALL@
|
||||
all:
|
||||
sed -e 's%pidfile=.*%pidfile=$(localstatedir)/run/piler/piler.pid%g' \
|
||||
-e 's%iv=.*%iv=@iv@%g' \
|
||||
-e '%pemfile=%pemfile=$(sysconfdir)/piler.pem%g' \
|
||||
-e 's%workdir=.*%workdir=$(localstatedir)/piler/tmp%g' < $(srcdir)/example.conf | grep -v ^\; | grep '=' | sort > $(srcdir)/piler.conf
|
||||
|
||||
install:
|
||||
|
@ -365,6 +365,13 @@ execute_post_install_tasks() {
|
||||
|
||||
chmod 755 $LOCALSTATEDIR/piler/stat
|
||||
|
||||
if [ -d webui ]; then webui_install; fi
|
||||
|
||||
}
|
||||
|
||||
|
||||
webui_install() {
|
||||
|
||||
echo -n "Copying www files to $DOCROOT... "
|
||||
mkdir -p $DOCROOT || exit 1
|
||||
|
||||
@ -409,7 +416,6 @@ execute_post_install_tasks() {
|
||||
echo "?>" >> $DOCROOT/config-site.php
|
||||
|
||||
echo "Done."
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user