[DRE-commits] [ruby-rails-assets-favico.js] 02/17: set engine root

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Sep 5 11:47:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

praveen pushed a commit to branch master
in repository ruby-rails-assets-favico.js.

commit 5f00c7fe9e63bbc9d26c8602f802a1d368d53243
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Sep 4 14:31:17 2015 +0530

    set engine root
---
 debian/install                   |  1 +
 debian/patches/engine-root.patch | 12 ++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 14 insertions(+)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..2043ef8
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+app usr/share/ruby-rails-assets-favico.js
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..58e17c7
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-rails-assets-favico.js/lib/rails-assets-favico.js.rb
+===================================================================
+--- ruby-rails-assets-favico.js.orig/lib/rails-assets-favico.js.rb
++++ ruby-rails-assets-favico.js/lib/rails-assets-favico.js.rb
+@@ -26,6 +26,7 @@ module RailsAssetsFavicoJs
+   if defined?(Rails)
+     class Engine < ::Rails::Engine
+       # Rails -> use app/assets directory.
++      config.root='/usr/share/ruby-rails-assets-favico.js'
+     end
+   end
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d77d941
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+engine-root.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rails-assets-favico.js.git



More information about the Pkg-ruby-extras-commits mailing list