7 lines
361 B
Plaintext
7 lines
361 B
Plaintext
# Check for debian updates
|
|
UserParameter=debian_updates[*], aptitude -F%p search "?upgradable ?archive(`sed '/^deb .*$1/!d;s/^deb [^ ]* \([^ ]*\) .*/\1/;q' /etc/apt/sources.list`)" 2>/dev/null | wc -l
|
|
# Increase the global timeout (unfortunately), or zabbix killing
|
|
# aptitude will leave a /tmp/aptitude-zabbix.* directory turd every
|
|
# now and then.
|
|
Timeout=12
|