[clojure] 05/11: Increased the priority of the alternatives

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Dec 22 16:28:27 UTC 2016


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

ebourg-guest pushed a commit to branch master
in repository clojure.

commit c4bdf5d614c57f84ad5c4829ae00dc623acd76e6
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Dec 22 15:59:16 2016 +0100

    Increased the priority of the alternatives
---
 debian/changelog           | 1 +
 debian/clojure1.8.postinst | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2faa6e0..8af0f48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ clojure1.8 (1.8.0-1) UNRELEASED; urgency=medium
   * New upstream release
     - Rename the package to clojure1.8
     - Refreshed the patch
+    - Increased the priority of the alternatives
   * Moved the library to its own libclojure1.8-java package
 
  -- Emmanuel Bourg <ebourg at apache.org>  Thu, 22 Dec 2016 15:38:43 +0100
diff --git a/debian/clojure1.8.postinst b/debian/clojure1.8.postinst
index 4108571..a93d1a7 100644
--- a/debian/clojure1.8.postinst
+++ b/debian/clojure1.8.postinst
@@ -5,12 +5,13 @@ set -e
 if [ "$1" = "configure" ]
 then
         CLOJUREVER=1.8
+        PRIORITY=180
         update-alternatives --install \
-          /usr/bin/clojure clojure /usr/bin/clojure${CLOJUREVER} 40 \
+          /usr/bin/clojure clojure /usr/bin/clojure${CLOJUREVER} ${PRIORITY} \
 	    --slave /usr/share/man/man1/clojure.1.gz clojure.1.gz /usr/share/man/man1/clojure${CLOJUREVER}.1.gz \
             --slave /usr/share/java/clojure.jar clojure.jar /usr/share/java/clojure-${CLOJUREVER}.jar
         update-alternatives --install \
-          /usr/bin/clojurec clojurec /usr/bin/clojurec${CLOJUREVER} 40 \
+          /usr/bin/clojurec clojurec /usr/bin/clojurec${CLOJUREVER} ${PRIORITY} \
 	    --slave /usr/share/man/man1/clojurec.1.gz clojurec.1.gz /usr/share/man/man1/clojurec${CLOJUREVER}.1.gz
 fi
 #DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/clojure.git



More information about the pkg-java-commits mailing list