Commit 53ee834b authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2793 from uberhacker/update-cowsay-package

Add postinstall message to set COWPATH
parents 36391262 ae4c6fa9
......@@ -10,4 +10,13 @@ class Cowsay < Package
def self.install
system "sh install.sh #{CREW_DEST_PREFIX}"
end
def self.postinstall
puts
puts "To finish the installation, execute the following:".lightblue
puts "echo '# Set COWPATH for cowsay' >> ~/.bashrc".lightblue
puts "echo 'export COWPATH=#{CREW_PREFIX}/share/cows' >> ~/.bashrc".lightblue
puts "source ~/.bashrc".lightblue
puts
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