Change path of weatherrc in postinstall function to assist binary installs

This commit is contained in:
Ed Reel
2017-08-25 18:53:05 -05:00
committed by Kazushi (Jam) Marukawa
parent 18673147c3
commit d88a70c34c

View File

@@ -35,7 +35,6 @@ class Weather < Package
def self.postinstall
system "if [ ! -d $HOME/.weather ]; then mkdir $HOME/.weather; fi"
system "if [ ! -f $HOME/.weather/weatherrc ]; then cp weatherrc $HOME/.weather; fi"
system "if [ ! -f $HOME/.weather/weatherrc ]; then cp #{CREW_PREFIX}/etc/weatherrc $HOME/.weather; fi"
end
end