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
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
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
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