Then zypper lu | grep 'keyword' should do the job, simply look at the output from any zypper run where some packages had been updated and take a suitable word/phrase from the lines you'd like to receive as 'keyword' or take a suitable regexp. Andreas Ralf Ronneburger wrote:
Hi Marcus,
Marcus Meissner wrote:
I would say that you can run in the script:
zypper lu
Ciao, Marcus
but then I'll get an email every time the script runs, not only when new updates are available... Is there an option to make zypper quiet enough to not produce any output if there are no updates? zypper -q lu does not seem to do the job, it still outputs all the repositories it checks.
Greetings,
Ralf --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-security+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-security+help@opensuse.org