[pkg-java] r15803 - trunk/java-common/debian

Matthias Klose doko at alioth.debian.org
Sun Feb 26 14:35:43 UTC 2012


Author: doko
Date: 2012-02-26 14:35:43 +0000 (Sun, 26 Feb 2012)
New Revision: 15803

Added:
   trunk/java-common/debian/java-common.postinst
   trunk/java-common/debian/java-common.postrm
Modified:
   trunk/java-common/debian/changelog
   trunk/java-common/debian/control
Log:
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


Modified: trunk/java-common/debian/changelog
===================================================================
--- trunk/java-common/debian/changelog	2012-02-26 11:51:53 UTC (rev 15802)
+++ trunk/java-common/debian/changelog	2012-02-26 14:35:43 UTC (rev 15803)
@@ -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.

Modified: trunk/java-common/debian/control
===================================================================
--- trunk/java-common/debian/control	2012-02-26 11:51:53 UTC (rev 15802)
+++ trunk/java-common/debian/control	2012-02-26 14:35:43 UTC (rev 15803)
@@ -2,11 +2,11 @@
 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/
 

Added: trunk/java-common/debian/java-common.postinst
===================================================================
--- trunk/java-common/debian/java-common.postinst	                        (rev 0)
+++ trunk/java-common/debian/java-common.postinst	2012-02-26 14:35:43 UTC (rev 15803)
@@ -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

Added: trunk/java-common/debian/java-common.postrm
===================================================================
--- trunk/java-common/debian/java-common.postrm	                        (rev 0)
+++ trunk/java-common/debian/java-common.postrm	2012-02-26 14:35:43 UTC (rev 15803)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+case "$1" in
+purge)
+    rm -rf /etc/.java
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0




More information about the pkg-java-commits mailing list