Project

General

Profile

« Previous | Next » 

Revision b2a63751

Added by Greg Sutcliffe about 11 years ago

Add logfile to command ouput for install/upgrade

View differences:

debian/squeeze/foreman/foreman-development.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