[DRE-commits] [ruby-rails-assets-highlightjs] 04/04: move assets to /usr/share
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Tue Jul 14 08:28:13 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-highlightjs.
commit 53985012da9d0f74ea6b60a7efb3eb0dadc5b493
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Tue Jul 14 13:55:37 2015 +0530
move assets to /usr/share
---
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..acbe847
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+app usr/share/ruby-rails-assets-highlightjs
diff --git a/debian/patches/engine-root.patch b/debian/patches/engine-root.patch
new file mode 100644
index 0000000..63792f0
--- /dev/null
+++ b/debian/patches/engine-root.patch
@@ -0,0 +1,12 @@
+Index: ruby-rails-assets-highlightjs/lib/rails-assets-highlightjs.rb
+===================================================================
+--- ruby-rails-assets-highlightjs.orig/lib/rails-assets-highlightjs.rb
++++ ruby-rails-assets-highlightjs/lib/rails-assets-highlightjs.rb
+@@ -25,6 +25,7 @@ module RailsAssetsHighlightjs
+
+ if defined?(Rails)
+ class Engine < ::Rails::Engine
++ config.root = '/usr/share/ruby-rails-assets-highlightjs'
+ # Rails -> use app/assets directory.
+ 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-highlightjs.git
More information about the Pkg-ruby-extras-commits
mailing list