diff options
author | utvk <utvk@users.noreply.github.com> | 2014-02-03 20:12:14 +0100 |
---|---|---|
committer | utvk <utvk@users.noreply.github.com> | 2014-02-03 20:12:14 +0100 |
commit | 63c33bb60ba85fb2c768a81e8e34475834d08fc6 (patch) | |
tree | 840872a8d310d79e5d5f66ff479367727f1d16d0 /install.rb | |
parent | 37b4192f364c9c0d3530e8d536ea6ad293d9a344 (diff) | |
parent | c526168388918e309af51ea26274cb7a13b46acc (diff) |
Merge branch 'master' into norway
Conflicts:
assets/stylesheets/custom.css.scss
lib/views/general/_orglink.html.erb
Diffstat (limited to 'install.rb')
-rw-r--r-- | install.rb | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -1,17 +1 @@ # Install hook code here - -plugin_path = File.expand_path(File.join(File.dirname(__FILE__), "public")) -main_app_path = Rails.root.join('public', 'alavetelitheme') - -# If the symlink to be created exists, warn the user and do nothing -if File.exists?(main_app_path) - puts "WARNING: #{main_app_path} already exists, the symbolic link won't be created" -else # Create symlink - begin - print "Creating symbolic link from #{main_app_path} to #{plugin_path}... " - File.symlink(plugin_path, main_app_path) - puts "done" - rescue NotImplementedError - puts "failed: symbolic links not supported" - end -end |