Set default editor to sensible-editor for vipw.

* debian/rules: Set default editor to sensible-editor for vipw.
    Closes: #688252
This commit is contained in:
Nicolas François
2013-08-25 21:05:03 +02:00
parent 16796d7e3b
commit 0c7f32eab6
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -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@debian.org> Sat, 27 Jul 2013 20:07:18 +0200
+3
View File
@@ -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