Fix IS_APTICRON check (confusion + remove active actions)
This commit is contained in:
parent
1188586ec0
commit
d670d62bae
|
@ -184,10 +184,9 @@ if [ -e /etc/debian_version ]; then
|
|||
|
||||
if [ "$IS_APTICRON" = 1 ]; then
|
||||
status="OK"
|
||||
test -e /etc/cron.d/apticron && status="fail"
|
||||
test -e /etc/cron.daily/apticron || status="fail"
|
||||
test -e /etc/cron.d/apticron || status="fail"
|
||||
test -e /etc/cron.daily/apticron && status="fail"
|
||||
test "$status" = "fail" || test -e /usr/bin/apt-get.bak || status="fail"
|
||||
test "$status" = "fail" || /usr/bin/apt-get.bak -qq update || status="fail"
|
||||
test "$status" = "fail" && echo 'IS_APTICRON FAILED!'
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue