aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/stylesheets/custom.css.scss (renamed from assets/stylesheets/custom.scss)0
-rw-r--r--install.rb16
-rw-r--r--uninstall.rb7
3 files changed, 0 insertions, 23 deletions
diff --git a/assets/stylesheets/custom.scss b/assets/stylesheets/custom.css.scss
index 6ca983e..6ca983e 100644
--- a/assets/stylesheets/custom.scss
+++ b/assets/stylesheets/custom.css.scss
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
diff --git a/uninstall.rb b/uninstall.rb
index 871647c..9738333 100644
--- a/uninstall.rb
+++ b/uninstall.rb
@@ -1,8 +1 @@
# Uninstall hook code here
-
-main_app_path = Rails.root.join('public', 'alavetelitheme')
-if File.exists?(main_app_path) && File.symlink?(main_app_path)
- print "Deleting symbolic link at #{main_app_path}... "
- File.delete(main_app_path)
- puts "done"
-end \ No newline at end of file