__apt_unattended_upgrades: all objects depend on package
This commit is contained in:
parent
ec8d9571f9
commit
cd2d5b3f79
1 changed files with 7 additions and 6 deletions
|
@ -20,16 +20,17 @@
|
||||||
|
|
||||||
__package unattended-upgrades
|
__package unattended-upgrades
|
||||||
|
|
||||||
|
export require='__package/unattended-upgrades'
|
||||||
|
|
||||||
# in normal circumstances 20auto-upgrades is managed
|
# in normal circumstances 20auto-upgrades is managed
|
||||||
# by debconf and it can only contain these lines
|
# by debconf and it can only contain these lines
|
||||||
# https://wiki.debian.org/UnattendedUpgrades
|
# https://wiki.debian.org/UnattendedUpgrades
|
||||||
|
|
||||||
require='__package/unattended-upgrades' \
|
__file /etc/apt/apt.conf.d/20auto-upgrades \
|
||||||
__file /etc/apt/apt.conf.d/20auto-upgrades \
|
--owner root \
|
||||||
--owner root \
|
--group root \
|
||||||
--group root \
|
--mode 644 \
|
||||||
--mode 644 \
|
--source - << EOF
|
||||||
--source - << EOF
|
|
||||||
APT::Periodic::Update-Package-Lists "1";
|
APT::Periodic::Update-Package-Lists "1";
|
||||||
APT::Periodic::Unattended-Upgrade "1";
|
APT::Periodic::Unattended-Upgrade "1";
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue