[java-policy] 145/198: java-common (0.47) unstable; urgency=low

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Sep 23 07:49:39 UTC 2015


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

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

commit 6cef3e7f0bc3a668a3fcdcd768e305baa8fbad06
Author: Matthias Klose <doko at debian.org>
Date:   Sun Feb 26 14:35:43 2012 +0000

    java-common (0.47) unstable; urgency=low
    
      * Add creation and removal of /etc/.java (common to different OpenJDK
        versions) in java-common maintainer scripts. Closes: #660604.
      * Remove Michael from the uploaders list. Closes: #654029.
    
     -- Matthias Klose <doko at debian.org>  Sun, 26 Feb 2012 15:19:30 +0100
---
 debian/changelog            |  8 ++++++++
 debian/control              |  4 ++--
 debian/java-common.postinst | 21 +++++++++++++++++++++
 debian/java-common.postrm   | 11 +++++++++++
 4 files changed, 42 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c0f4f1a..d0031c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+java-common (0.47) unstable; urgency=low
+
+  * Add creation and removal of /etc/.java (common to different OpenJDK
+    versions) in java-common maintainer scripts. Closes: #660604.
+  * Remove Michael from the uploaders list. Closes: #654029.
+
+ -- Matthias Klose <doko at debian.org>  Sun, 26 Feb 2012 15:19:30 +0100
+
 java-common (0.46) unstable; urgency=low
 
   * java-common: Mark it as Multi-Arch: foreign.
diff --git a/debian/control b/debian/control
index 059aed5..f626e13 100644
--- a/debian/control
+++ b/debian/control
@@ -2,11 +2,11 @@ Source: java-common
 Section: java
 Priority: optional
 Maintainer: Debian Java Mailing List <debian-java at lists.debian.org>
-Uploaders: Michael Koch <konqueror at gmx.de>, Matthias Klose <doko at debian.org>, Torsten Werner <twerner at debian.org>,
+Uploaders: Matthias Klose <doko at debian.org>, Torsten Werner <twerner at debian.org>,
  Niels Thykier <niels at thykier.net>
 Build-Depends: debhelper (>= 7)
 Build-Depends-Indep: debiandoc-sgml, docbook-utils, docbook-xml, lynx
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/java-common
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/java-common/
 
diff --git a/debian/java-common.postinst b/debian/java-common.postinst
new file mode 100644
index 0000000..b46c84f
--- /dev/null
+++ b/debian/java-common.postinst
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+configure)
+    [ -d /etc/.java ] || mkdir -m 755 /etc/.java
+    [ -d /etc/.java/.systemPrefs ] || mkdir -m 755 /etc/.java/.systemPrefs
+    if [ ! -f /etc/.java/.systemPrefs/.system.lock ]; then
+        touch /etc/.java/.systemPrefs/.system.lock
+        chmod 644 /etc/.java/.systemPrefs/.system.lock
+    fi
+    if [ ! -f /etc/.java/.systemPrefs/.systemRootModFile ]; then
+        touch /etc/.java/.systemPrefs/.systemRootModFile
+        chmod 644 /etc/.java/.systemPrefs/.systemRootModFile
+    fi
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/java-common.postrm b/debian/java-common.postrm
new file mode 100644
index 0000000..4e16477
--- /dev/null
+++ b/debian/java-common.postrm
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+case "$1" in
+purge)
+    rm -rf /etc/.java
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0

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



More information about the pkg-java-commits mailing list