projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0935b6d
)
change wrap in motd
author
Peter Palfrader
<peter@palfrader.org>
Wed, 8 Jan 2014 15:17:39 +0000
(16:17 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 8 Jan 2014 15:17:58 +0000
(16:17 +0100)
modules/motd/templates/motd.erb
patch
|
blob
|
history
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
0838f58
..
4afe1d3
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-13,7
+13,7
@@
this machine you agree to abide by the Debian Machines Usage Policies
<%=
def wrap(s, width=78)
- s.gsub(/(.{1,#{width}})(
+|\Z)/, "\\1\n ")
+ s.gsub(/(.{1,#{width}})(
\s
+|\Z)/, "\\1\n ")
end
def markup(l)