Use Debian alternatives for external tools instead of hardcoded programs

Forwarded: No, Debian specific

Gbp-Pq: Name 54-debian-alternatives-for-external-tools.patch
This commit is contained in:
Martin Pitt 2022-05-14 02:43:37 +08:00 committed by openKylinBot
parent 390c25bb1d
commit 7268b0d273
2 changed files with 3 additions and 3 deletions

View File

@ -20,8 +20,8 @@
#define DEFAULT_EDITOR "notepad.exe" #define DEFAULT_EDITOR "notepad.exe"
/* no DEFAULT_EDITOR_LINENUMBER_ARG for Notepad */ /* no DEFAULT_EDITOR_LINENUMBER_ARG for Notepad */
#else #else
#define DEFAULT_EDITOR "vi" #define DEFAULT_EDITOR "sensible-editor"
#define DEFAULT_EDITOR_LINENUMBER_ARG "+" /*#define DEFAULT_EDITOR_LINENUMBER_ARG "+"*/
#endif #endif
#define DEFAULT_PROMPT1 "%/%R%# " #define DEFAULT_PROMPT1 "%/%R%# "

View File

@ -18,7 +18,7 @@
/* This is not a particularly great place for this ... */ /* This is not a particularly great place for this ... */
#ifndef __CYGWIN__ #ifndef __CYGWIN__
#define DEFAULT_PAGER "more" #define DEFAULT_PAGER "pager"
#else #else
#define DEFAULT_PAGER "less" #define DEFAULT_PAGER "less"
#endif #endif