Skip to content

Commit

Permalink
Oops again, there was already a split in the wrong place.
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoskings committed Jan 25, 2011
1 parent d207e57 commit 4b80054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apache.rb
Expand Up @@ -2,7 +2,7 @@
def packages
shell("dpkg --get-selections").split("\n").select {|l|
l[/\binstall$/]
}.split("\n").map {|l|
}.map {|l|
l.split(/\s+/, 2).first
}.select {|l|
l[/apache|mysql|php/]
Expand Down

0 comments on commit 4b80054

Please sign in to comment.