control: tags -1 +patch

Hi,

On Sun, 18 Sep 2016 15:07:42 +0900
Osamu Aoki <osamua...@e01.itscom.net> wrote:

> I think including lv as a part of Japanese task is OK but its
> update-alternative preference should be demoted so it will not be the
> default choice for the pager.

  Selection    Path            Priority   Status
------------------------------------------------------------
  0            /usr/bin/lv      80        auto mode
* 1            /bin/less        77        manual mode
  2            /bin/more        50        manual mode
  3            /usr/bin/lv      80        manual mode
  4            /usr/bin/pg      10        manual mode
  5            /usr/bin/w3m     25        manual mode

 Now we have lv as priority=80 and it'd be better to downgrade to between
 50 and 77, such as 70. Using "less" for pager is best, and lv is better 
 than "more", IMO. patch attached.



>From d35431d1a66776bc4b45e7b453d34c04fd3664af Mon Sep 17 00:00:00 2001
From: Hideki Yamane <henr...@debian.org>
Date: Mon, 19 Sep 2016 06:11:34 +0900
Subject: [PATCH] fix #837218

---
 debian/changelog | 9 +++++++++
 debian/postinst  | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 002fdfb..13fb6c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+lv (4.51-2.4) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/postinst
+    - adjust priority lower than less to not break systemctl behavior.
+      (Closes: #837218) 
+
+ -- Hideki Yamane <henr...@debian.org>  Mon, 19 Sep 2016 06:10:16 +0900
+
 lv (4.51-2.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --git a/debian/postinst b/debian/postinst
index b31b988..1c38c96 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -25,7 +25,7 @@ set -e
 case "$1" in
     configure)
        update-alternatives --quiet --install /usr/bin/pager pager \
-               /usr/bin/lv 80 --slave /usr/share/man/man1/pager.1.gz \
+               /usr/bin/lv 70 --slave /usr/share/man/man1/pager.1.gz \
                pager.1.gz /usr/share/man/man1/lv.1.gz
     ;;
 
-- 
2.9.3

Reply via email to