In your cron.{daily,weekly} modifications:
+[ -z "${USER}" ] && USER="root"
you should append || true, so that the script does not bail out if $USER is not zero. That's only an issue if the script is under set -e, but it's generally more robust.
In your cron.{daily,weekly} modifications:
+[ -z "${USER}" ] && USER="root"
you should append || true, so that the script does not bail out if $USER is not zero. That's only an issue if the script is under set -e, but it's generally more robust.