Cheat Sheets

System - No APT errors

Description

Checks if all APT dependencies are fine (using 'apt-get check')

Check Script: system-apt.sh

output=$(apt-get check)
if [ $? -eq 0 ]; then
	result_ok
else
	result_failed "'apt-get check' reports problems: $output"
fi
Comment on Disqus