Revision b2a63751
Added by Greg Sutcliffe about 11 years ago
debian/wheezy/foreman/foreman-test.postinst | ||
---|---|---|
|
||
. /usr/share/debconf/confmodule
|
||
|
||
LOGFILE='/var/log/foreman-install.log'
|
||
|
||
# if this script aborts with an error dpkg can
|
||
# hang if daemons have been started
|
||
trap db_stop EXIT
|
||
... | ... | |
if [ ! -z "${DEBUG}" ]; then
|
||
bundle update --local
|
||
else
|
||
bundle update --local 2>&1 >/dev/null
|
||
bundle update --local 2>&1 >> $LOGFILE
|
||
fi
|
||
|
||
# Own all the core files
|
Also available in: Unified diff
Add logfile to command ouput for install/upgrade