aboutsummaryrefslogtreecommitdiff
path: root/manifests/unattended_upgrades.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/unattended_upgrades.pp')
-rw-r--r--manifests/unattended_upgrades.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/unattended_upgrades.pp b/manifests/unattended_upgrades.pp
index 4df9b8a..2a6fe9e 100644
--- a/manifests/unattended_upgrades.pp
+++ b/manifests/unattended_upgrades.pp
@@ -14,7 +14,7 @@ class apt::unattended_upgrades {
require => Package['unattended-upgrades'],
}
- if $::apt::custom_preferences != false {
+ if defined(File['apt_config']) {
Apt_conf['50unattended-upgrades'] {
before => File['apt_config'],
}