[Pkg-shadow-devel] [shadow] 07/07: Set default editor to sensible-editor for vipw.
Nicolas François
nekral at alioth.debian.org
Sun Aug 25 21:42:37 UTC 2013
This is an automated email from the git hooks/post-receive script.
nekral pushed a commit to branch master
in repository shadow.
commit 0c7f32eab678fa699ade9cfe70d457f54540de47
Author: Nicolas François <nicolas.francois at centraliens.net>
Date: Sun Aug 25 21:05:03 2013 +0200
Set default editor to sensible-editor for vipw.
* debian/rules: Set default editor to sensible-editor for vipw.
Closes: #688252
---
debian/changelog | 2 ++
debian/rules | 3 +++
2 files changed, 5 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 5c95fb4..872ed86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,8 @@ shadow (1:4.2-1) UNRELEASED; urgency=low
package containing the new setuid-root binaries newuidmap and newgidmap
Set uidmap as priority optional.
* debian/login.su.pam: Enable pam_limits by default. Closes: #705301
+ * debian/rules: Set default editor to sensible-editor for vipw.
+ Closes: #688252
-- Christian Perrier <bubulle at debian.org> Sat, 27 Jul 2013 20:07:18 +0200
diff --git a/debian/rules b/debian/rules
index ce79a19..12d4244 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,9 @@ ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
DEB_CONFIGURE_EXTRA_FLAGS += --host=$(DEB_HOST_GNU_TYPE)
endif
+# Set the default editor for vipw/vigr
+CFLAGS += -DDEFAULT_EDITOR=\\\"sensible-editor\\\"
+
# Automatically controls patching at build time:
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shadow/shadow.git
More information about the Pkg-shadow-devel
mailing list