fix typo
This commit is contained in:
parent
d47d07d62f
commit
8a4b0dd0a5
|
@ -75,7 +75,7 @@ fi
|
||||||
# configure unattended upgrades with automatic reboots
|
# configure unattended upgrades with automatic reboots
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y install unattended-upgrades apt-listchanges
|
DEBIAN_FRONTEND=noninteractive apt-get -y install unattended-upgrades apt-listchanges
|
||||||
# /etc/apt/apt.conf.d/10periodic is part of update-notifier-common, on Ubuntu only
|
# /etc/apt/apt.conf.d/10periodic is part of update-notifier-common, on Ubuntu only
|
||||||
if [[ -f /etc/apt/apt.conf.d/10periodic ]]; thenl
|
if [[ -f /etc/apt/apt.conf.d/10periodic ]]; then
|
||||||
sed -i 's|^APT::Periodic::Update-Package-Lists.*|APT::Periodic::Update-Package-Lists "1";|g' /etc/apt/apt.conf.d/10periodic
|
sed -i 's|^APT::Periodic::Update-Package-Lists.*|APT::Periodic::Update-Package-Lists "1";|g' /etc/apt/apt.conf.d/10periodic
|
||||||
sed -i 's|^APT::Periodic::Download-Upgradeable-Packages.*|APT::Periodic::Download-Upgradeable-Packages "1";|g' /etc/apt/apt.conf.d/10periodic
|
sed -i 's|^APT::Periodic::Download-Upgradeable-Packages.*|APT::Periodic::Download-Upgradeable-Packages "1";|g' /etc/apt/apt.conf.d/10periodic
|
||||||
sed -i 's|^APT::Periodic::AutocleanInterval.*|APT::Periodic::AutocleanInterval "7";|g' /etc/apt/apt.conf.d/10periodic
|
sed -i 's|^APT::Periodic::AutocleanInterval.*|APT::Periodic::AutocleanInterval "7";|g' /etc/apt/apt.conf.d/10periodic
|
||||||
|
|
Loading…
Reference in New Issue
Block a user