projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
change wrap in motd
[mirror/dsa-puppet.git]
/
modules
/
motd
/
templates
/
motd.erb
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)