projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new jenkins storage
[mirror/dsa-puppet.git]
/
modules
/
motd
/
templates
/
motd.erb
diff --git
a/modules/motd/templates/motd.erb
b/modules/motd/templates/motd.erb
index
d1c1c8e
..
42edb0c
100644
(file)
--- a/
modules/motd/templates/motd.erb
+++ b/
modules/motd/templates/motd.erb
@@
-1,4
+1,4
@@
-<% if @lsb
distcodename == 'wheezy
' -%>
+<% if @lsb
majdistrelease >= '7
' -%>
#!/bin/bash
cat <<EOD
#!/bin/bash
cat <<EOD
@@
-145,7
+145,7
@@
purp
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-<% if @lsb
distcodename == 'wheezy
' -%>
+<% if @lsb
majdistrelease >= '7
' -%>
EOD
<% end -%>
<%
EOD
<% end -%>
<%