[DRE-commits] [vagrant-lxc] 14/17: Fix-shebang-in-sudoers-template.patch: use /usr/bin/ruby

Antonio Terceiro terceiro at moszumanska.debian.org
Thu May 28 10:46:26 UTC 2015


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

terceiro pushed a commit to branch master
in repository vagrant-lxc.

commit 318d885820c7a8d11dee8505c3c9093e92278282
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Wed May 27 13:51:07 2015 -0300

    Fix-shebang-in-sudoers-template.patch: use /usr/bin/ruby
---
 debian/changelog                                       |  1 +
 .../patches/0002-Fix-shebang-in-sudoers-template.patch | 18 ++++++++++++++++++
 debian/patches/series                                  |  1 +
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e0c28da..7c70e22 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,5 +3,6 @@ vagrant-lxc (1.1.0-1) UNRELEASED; urgency=medium
   * Initial release (Closes: #740164)
   * Read-extra-files-from-usr-share.patch: read scripts/ templates/ and
     locales/ from where they are installed in the Debian package.
+  * Fix-shebang-in-sudoers-template.patch: use /usr/bin/ruby
 
  -- Antonio Terceiro <terceiro at debian.org>  Tue, 26 May 2015 18:39:54 -0300
diff --git a/debian/patches/0002-Fix-shebang-in-sudoers-template.patch b/debian/patches/0002-Fix-shebang-in-sudoers-template.patch
new file mode 100644
index 0000000..fd82bc2
--- /dev/null
+++ b/debian/patches/0002-Fix-shebang-in-sudoers-template.patch
@@ -0,0 +1,18 @@
+From: Antonio Terceiro <terceiro at softwarelivre.org>
+Date: Wed, 27 May 2015 13:44:44 -0300
+Subject: Fix shebang in sudoers template
+
+---
+ templates/sudoers.rb.erb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/templates/sudoers.rb.erb b/templates/sudoers.rb.erb
+index 94db7f7..f4c1e07 100644
+--- a/templates/sudoers.rb.erb
++++ b/templates/sudoers.rb.erb
+@@ -1,4 +1,4 @@
+-#!/opt/vagrant/embedded/bin/ruby
++#!/usr/bin/ruby
+ # Automatically created by vagrant-lxc
+ 
+ class Whitelist
diff --git a/debian/patches/series b/debian/patches/series
index 6eb6646..b0953fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Read-extra-files-from-usr-share.patch
+0002-Fix-shebang-in-sudoers-template.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/vagrant-lxc.git



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