[Piuparts-commits] [piuparts] 19/23: preseed sun-java license acceptance
Holger Levsen
holger at layer-acht.org
Tue Jan 17 12:39:47 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit e6b09832ade5ae0cae1009d8c8e6150d4ca0446f
Author: Andreas Beckmann <anbe at debian.org>
Date: Mon Jan 16 13:40:44 2017 +0100
preseed sun-java license acceptance
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
custom-scripts/scripts/pre_install_extras | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/custom-scripts/scripts/pre_install_extras b/custom-scripts/scripts/pre_install_extras
index 01fd460..2b49eb4 100755
--- a/custom-scripts/scripts/pre_install_extras
+++ b/custom-scripts/scripts/pre_install_extras
@@ -66,3 +66,29 @@ case ${PIUPARTS_OBJECTS%%=*} in
fi
;;
esac
+
+if [ "$PIUPARTS_DISTRIBUTION" = "squeeze" ] || \
+ [ "$PIUPARTS_DISTRIBUTION" = "lenny" ]; then
+
+ case ${PIUPARTS_OBJECTS%%=*} in
+ *sun-java5-*|*sun-java6-*)
+ log_debug
+ echo "sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true" | debconf-set-selections
+ ;;
+ jajuk|\
+ liblucene2-java|\
+ libworldwind-java|\
+ omegat|\
+ robocode|\
+ solr-common|\
+ solr-tomcat5.5|\
+ weirdx|\
+ weka|\
+ worldwind)
+ # these packages depend on sun-java* only
+ log_debug
+ echo "sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true" | debconf-set-selections
+ ;;
+ esac
+
+fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list