[ca-certificates-java] 13/58: * Test for existing file in postinst before copying it. (Closes: #624152) * Add Vcs headers to debian/control.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed May 31 13:13:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository ca-certificates-java.
commit 1ad8e5b083e2af2819eba6b2bbb5a2178ae3f32f
Author: Torsten Werner <twerner at debian.org>
Date: Tue Apr 26 07:21:57 2011 +0000
* Test for existing file in postinst before copying it. (Closes: #624152)
* Add Vcs headers to debian/control.
---
debian/changelog | 7 +++++++
debian/control | 2 ++
debian/postinst | 4 +++-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index c22d265..6a53867 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ca-certificates-java (20110426) unstable; urgency=low
+
+ * Test for existing file in postinst before copying it. (Closes: #624152)
+ * Add Vcs headers to debian/control.
+
+ -- Torsten Werner <twerner at debian.org> Tue, 26 Apr 2011 09:23:03 +0200
+
ca-certificates-java (20110425) unstable; urgency=low
* Add Java code to update the keystore and support UTF-8 encoded filenames.
diff --git a/debian/control b/debian/control
index 291dd2a..67ab44d 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,8 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
Uploaders: Matthias Klose <doko at ubuntu.com>, Torsten Werner <twerner at debian.org>
Build-Depends: debhelper (>= 6), default-jdk
Standards-Version: 3.8.4
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/ca-certificates-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/ca-certificates-java/
Package: ca-certificates-java
Architecture: all
diff --git a/debian/postinst b/debian/postinst
index e996437..5a9bfae 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -41,7 +41,9 @@ case "$1" in
configure)
if dpkg --compare-versions "$2" le "20100412"; then
FIXOLD="true"
- cp -f /etc/ssl/certs/java/cacerts /etc/ssl/certs/java/cacerts.dpkg-old
+ if [ -e /etc/ssl/certs/java/cacerts ]; then
+ cp -f /etc/ssl/certs/java/cacerts /etc/ssl/certs/java/cacerts.dpkg-old
+ fi
fi
if [ -z "$2" -o -n "$FIXOLD" ]; then
setup_path
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/ca-certificates-java.git
More information about the pkg-java-commits
mailing list