[ca-certificates-java] 52/58: postinst: Correct indentation (part 2)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed May 31 13:13:19 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 df63905982cab933f7899c26dcd892f337d3ced3
Author: Benjamin Drung <bdrung at debian.org>
Date: Mon Nov 7 12:29:38 2016 +0000
postinst: Correct indentation (part 2)
---
debian/postinst.in | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/debian/postinst.in b/debian/postinst.in
index 2de981a..c2a2272 100644
--- a/debian/postinst.in
+++ b/debian/postinst.in
@@ -88,29 +88,29 @@ case "$1" in
fi
fi
if [ -z "$2" -o -n "$FIXOLD" ]; then
- setup_path
+ setup_path
- if ! mountpoint -q /proc; then
- echo >&2 "the keytool command requires a mounted proc fs (/proc)."
- exit 1
- fi
+ if ! mountpoint -q /proc; then
+ echo >&2 "the keytool command requires a mounted proc fs (/proc)."
+ exit 1
+ fi
- temp_jvm_cfg=
- if [ ! -f /etc/${jvm%-$arch}/jvm-$arch.cfg ]; then
- # the jre is not yet configured, but jvm.cfg is needed to run it
- temp_jvm_cfg=/etc/${jvm%-$arch}/jvm-$arch.cfg
- mkdir -p /etc/${jvm%-$arch}
- printf -- "-server KNOWN\n" > $temp_jvm_cfg
- fi
+ temp_jvm_cfg=
+ if [ ! -f /etc/${jvm%-$arch}/jvm-$arch.cfg ]; then
+ # the jre is not yet configured, but jvm.cfg is needed to run it
+ temp_jvm_cfg=/etc/${jvm%-$arch}/jvm-$arch.cfg
+ mkdir -p /etc/${jvm%-$arch}
+ printf -- "-server KNOWN\n" > $temp_jvm_cfg
+ fi
- if first_install; then
- do_cleanup
- else
- do_cleanup
- exit 1
+ if first_install; then
+ do_cleanup
+ else
+ do_cleanup
+ exit 1
+ fi
fi
- fi
- chmod 600 /etc/default/cacerts || true
+ chmod 600 /etc/default/cacerts || true
;;
abort-upgrade|abort-remove|abort-deconfigure)
--
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