add log apt

This commit is contained in:
abeudin 2012-08-14 17:53:08 +03:00
parent 7ffed257fa
commit 332f1789c5

View file

@ -97,7 +97,7 @@ then
debconf-set-selections debconf
#Install yunohost packages
debconf-apt-progress -- apt-get -y install yunohost yunohost-config yunohost-config-postfix postfix postfix-ldap postfix-policyd-spf-perl -y
debconf-apt-progress -- apt-get -y install yunohost yunohost-config yunohost-config-postfix postfix postfix-ldap postfix-policyd-spf-perl -y --logfile /var/log/yunohost.log --logstderr /var/log/yunohost.error
if [ $? != 0 ] ;
then
echo "Install yunohost Failure"