Use /bin/sh as shell in postinst script explicitly

This commit is contained in:
Ondřej Nový 2016-04-08 16:12:38 +02:00
parent 41118d6bfc
commit fa9ae274a6
2 changed files with 7 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
heat (1:6.0.0-2) UNRELEASED; urgency=medium
* Use /bin/sh as shell in postinst script explicitly
-- Ondřej Nový <novy@ondrej.org> Fri, 08 Apr 2016 16:12:01 +0200
heat (1:6.0.0-1) unstable; urgency=medium
* New upstream release.

View File

@ -29,7 +29,7 @@ if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
# This is the equivalent of db-sync:
db_get heat/configure_db
if [ "$RET" = "true" ] ; then
su heat -c "heat-manage db_sync"
su heat -s /bin/sh -c "heat-manage db_sync"
fi
chown -R heat:adm /var/log/heat