We can use multiple packages in is_installed
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build encountered an error

This commit is contained in:
Benoît S. 2019-06-21 11:13:46 +02:00
parent c4d407417a
commit afb6099f88

View file

@ -1122,10 +1122,8 @@ check_evobackup_incs() {
}
check_osprober() {
if is_installed os-prober; then
if is_installed qemu-kvm; then
failed "IS_OSPROBER" "Removal of os-prober package is recommended as it can cause serious issue on KVM server"
fi
if is_installed os-prober qemu-kvm; then
failed "IS_OSPROBER" "Removal of os-prober package is recommended as it can cause serious issue on KVM server"
fi
}