forked from evolix/evocheck
Add test to check if aptitude is well removed in Jessie
This commit is contained in:
parent
e41af65080
commit
e018379753
|
@ -18,6 +18,7 @@ IS_LOGROTATECONF=1
|
||||||
IS_SYSLOGCONF=1
|
IS_SYSLOGCONF=1
|
||||||
IS_DEBIANSECURITY=1
|
IS_DEBIANSECURITY=1
|
||||||
IS_APTITUDEONLY=1
|
IS_APTITUDEONLY=1
|
||||||
|
IS_APTITUDE=1
|
||||||
IS_APTICRON=1
|
IS_APTICRON=1
|
||||||
IS_USRRO=1
|
IS_USRRO=1
|
||||||
IS_TMPNOEXEC=1
|
IS_TMPNOEXEC=1
|
||||||
|
@ -163,6 +164,10 @@ if [ -e /etc/debian_version ]; then
|
||||||
is_debianversion wheezy && test -e /usr/bin/apt-get && echo 'IS_APTITUDEONLY FAILED!'
|
is_debianversion wheezy && test -e /usr/bin/apt-get && echo 'IS_APTITUDEONLY FAILED!'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$IS_APTITUDE" = 1 ]; then
|
||||||
|
is_debianversion jessie && test -e /usr/bin/aptitude && echo 'IS_APTITUDEONLY FAILED!'
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$IS_APTICRON" = 1 ]; then
|
if [ "$IS_APTICRON" = 1 ]; then
|
||||||
status="OK"
|
status="OK"
|
||||||
test -e /etc/cron.d/apticron || status="fail"
|
test -e /etc/cron.d/apticron || status="fail"
|
||||||
|
|
Loading…
Reference in a new issue