summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniele Sluijters <daenney@users.noreply.github.com>2015-04-22 13:52:30 +0200
committerDaniele Sluijters <daenney@users.noreply.github.com>2015-04-22 13:52:30 +0200
commit80c5f0b86683beb569c5755bde5a5a14dde95326 (patch)
treec25f539170fb1faf4c363919ec2308bc736ef767 /templates
parentdd99614da1e27f62096313d94c85e46da7be678a (diff)
unattended_upgrades: Remove spurious newlines
Diffstat (limited to 'templates')
-rw-r--r--templates/unattended-upgrades.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/unattended-upgrades.erb b/templates/unattended-upgrades.erb
index 0b015fd..6f94b3d 100644
--- a/templates/unattended-upgrades.erb
+++ b/templates/unattended-upgrades.erb
@@ -33,7 +33,7 @@ Unattended-Upgrade::MinimalSteps "<%= @minimal_steps.to_s %>";
// This will (obviously) make shutdown slower
Unattended-Upgrade::InstallOnShutdown "<%= @install_on_shutdown.to_s %>";
-<% unless @mail['to'].nil? %>
+<%- unless @mail['to'].nil? -%>
// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
@@ -43,7 +43,7 @@ Unattended-Upgrade::Mail "<%= @mail['to'] %>";
// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
Unattended-Upgrade::MailOnlyOnError "<%= @mail['only_on_error'].to_s %>";
-<% end %>
+<%- end -%>
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
@@ -53,8 +53,8 @@ Unattended-Upgrade::Remove-Unused-Dependencies "<%= @_auto['remove'].to_s %>";
// the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "<%= @_auto['reboot'].to_s %>";
-<% unless @dl_limit.nil? %>
+<%- unless @dl_limit.nil? -%>
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
Acquire::http::Dl-Limit "<%= @dl_limit %>";
-<% end %>
+<%- end -%>