Commit 255f6c4c authored by Ben Fayers's avatar Ben Fayers Committed by GitHub

Add escapes in the sed lines.

parent 21b85124
......@@ -19,7 +19,7 @@ class Nginx < Package
system "echo pages are in /usr/local/nginx/html"
system "echo adding bash aliases so you can easily start/stop nginx"
system "echo startnginx starts nginx and stopnginx stops nginx"
system "sed -i '$ a alias startnginx="sudo nginx"' ~/.bashrc"
system "sed -i '$ a alias stopnginx="sudo pkill nginx"' ~/.bashrc"
system "sed -i '$ a alias startnginx=\"sudo nginx\"' ~/.bashrc"
system "sed -i '$ a alias stopnginx=\"sudo pkill nginx\"' ~/.bashrc"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment