Commit ae4c6fa9 authored by Ed Reel's avatar Ed Reel

Add postinstall to set COWPATH

parent 36391262
......@@ -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