Permalink
Browse files

- add bugfix for issues/87 - this is mostly a temporary hack until some

  major refactoring gets into fpm.
  • Loading branch information...
jordansissel committed Aug 7, 2011
1 parent dda5a0e commit fd4d1fe584aa982361e308adde0ab3e357ec7e34
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/solaris.erb
View
@@ -11,5 +11,5 @@ CATEGORY=application
DESC=<%= description.split("\n").first[0..255] or "no description given" %>
VENDOR=<%= maintainer %>
<%# Take maintainer of "Foo <bar@baz.com>" and use "bar@baz.com" -%>
-EMAIL=<%= maintainer[/<.+>/].gsub(/[<>]/, "") %>
+EMAIL=<%= (maintainer[/<.+>/] or maintainer).gsub(/[<>]/, "") %>

0 comments on commit fd4d1fe

Please sign in to comment.