[Touch-packages] [Bug 1759846] Re: Incorrect test used for anacron being active

2019-03-16 Thread Gordon Lack
This is *still* an issue nearly a year on. A better test line is actually this, which checks for anacron being present before checking whether it is enabled: ( test -x /usr/sbin/anacron && systemctl -q is-enabled anacron ) The () are needed. -- You received this bug notification because you ar

[Touch-packages] [Bug 1759846] Re: Incorrect test used for anacron being active

2018-04-03 Thread Gordon Lack
Actually systemctl -q is-enabled anacron 2>/dev/null works to, and is shorter (and more intuitive). -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to cron in Ubuntu. https://bugs.launchpad.net/bugs/1759846 Title: Incorrec