[Bug 1232222] Re: amavisd-new-cronjob fails

2013-09-27 Thread Storefront
Changing /bin/sh to /bin/bash will fix the issue. This is bacause Ubuntu uses dash as /bin/sh. Hope you can update this package; otherwise people have to fix this manually in 12.04. 22c22 exec /bin/su -s /bin/sh - ${SUUSER} -c $* /dev/null --- exec /bin/su -s

[Bug 1232222] [NEW] amavisd-new-cronjob fails

2013-09-27 Thread Storefront
Public bug reported: Cron email subject: Cron r...@example.com test -x /usr/sbin/anacron || ( cd / run-parts --report /etc/cron.daily ) Cron email body: /etc/cron.daily/amavisd-new: -su: 6: /etc/profile.d/ps1.sh: shopt: not found -su: 35: [: -ne: unexpected operator ** Affects: amavisd-new

[Bug 1232222] Re: amavisd-new-cronjob fails

2013-09-27 Thread Storefront
Changing /bin/sh to /bin/bash will fix the issue. This is bacause Ubuntu uses dash as /bin/sh. Hope you can update this package; otherwise people have to fix this manually in 12.04. 22c22 exec /bin/su -s /bin/sh - ${SUUSER} -c $* /dev/null --- exec /bin/su -s

[Bug 1232222] [NEW] amavisd-new-cronjob fails

2013-09-27 Thread Storefront
Public bug reported: Cron email subject: Cron r...@example.com test -x /usr/sbin/anacron || ( cd / run-parts --report /etc/cron.daily ) Cron email body: /etc/cron.daily/amavisd-new: -su: 6: /etc/profile.d/ps1.sh: shopt: not found -su: 35: [: -ne: unexpected operator ** Affects: amavisd-new