What about this for the cron job? It only runs if landscape-client is
enabled.

#!/bin/sh

[ -f "/etc/default/landscape-client" ] || exit 0

source /etc/default/landscape-client

[ "$RUN" -eq "1" ] && /usr/share/smart/smart update > /dev/null 2>&1

exit 0

-- 
landscape-client must have a cron job for updating smart package data
https://bugs.launchpad.net/bugs/268765
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to