aboutsummaryrefslogtreecommitdiffstats
path: root/install.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-01-24 10:35:13 +0000
committerLouise Crow <louise.crow@gmail.com>2014-01-24 10:35:13 +0000
commite19a0d6edbfdbbec18240c4f96941a9b288f2617 (patch)
treea0f0cbe528c99f64c5c870030b6133ff7ccc53c2 /install.rb
parent3f0b2ccb10aa58c5471c92b44633ae78e0386f68 (diff)
parente3b0227230807d8471c7311520f599bba3806f3f (diff)
Merge branch 'develop'
Diffstat (limited to 'install.rb')
-rw-r--r--install.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/install.rb b/install.rb
index 4aee9f7..f7732d3 100644
--- a/install.rb
+++ b/install.rb
@@ -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