Add support to detect Ubuntu kernels
Fix scoping issue with kernel version string
Remove sudo call when calling apt-get with --simulate as this is not necessary
Merge pull request #1 from simondeziel/ubuntu-support

Add support to detect Ubuntu kernels and remove sudo usage on apt-get --simulate.
Detect new Debian distro kernels correctly (closes Debian Bug#697330).
Detect new Debian distro kernels correctly (closes Debian Bug#697330 by Timo Weingärtner).
Merge branch 'master' of github.com:DE-IBH/apt-dater-host

Conflicts:
	ChangeLog
Debian: apt-dater-host should use apt-get as default (contributed by Simon Deziel).
yum: Fix apt-dater-host with newlines in yum

apt-dater-host calls yum, which asks urllib(!) for its idea of the
current terminal width, which causes yum to break the output into
"human-reable" one.

This commit wraps yum calls into call_yum, which, in turn, appends lines
beginning with ^\s+ to the previous one to ease parsing.
Merge pull request #4 from yath/yum-newline-fix

yum: Fix apt-dater-host with newlines in yum (fixing DE-IBH/apt-dater#15).
Update ChangeLog (yum linebreaking fix).
Begin ADP 0.7 work.
Add NEEDRESTART-* primitives.
Add needrestart binary to sudo example file.
needrestart is not part of the search path (due it should be in /usr/sbin and we are non-root).
Add needrestart(1) batch output and call hook.
Add needrestart(1) integration.
Use generic call schema (parameter list vs. single string) at system calls.