[Piuparts-commits] [piuparts] 22/23: turn the licence acceptance preseeding commands into commented examples
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 c98d2db6a4fd8aa40a0f20d13997ec383cf51e27
Author: Andreas Beckmann <anbe at debian.org>
Date: Mon Jan 16 13:55:21 2017 +0100
turn the licence acceptance preseeding commands into commented examples
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 | 19 ++++++++++---------
debian/changelog | 2 ++
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/custom-scripts/scripts/pre_install_extras b/custom-scripts/scripts/pre_install_extras
index cb39ce6..25dfb82 100755
--- a/custom-scripts/scripts/pre_install_extras
+++ b/custom-scripts/scripts/pre_install_extras
@@ -47,31 +47,32 @@ case ${PIUPARTS_OBJECTS%%=*} in
;;
firmware-ipw2x00)
log_debug
- echo "firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true" | debconf-set-selections
+ #echo "firmware-ipw2x00 firmware-ipw2x00/license/accepted boolean true" | debconf-set-selections
;;
firmware-ivtv)
log_debug
- echo "firmware-ivtv firmware-ivtv/license/accepted boolean true" | debconf-set-selections
+ #echo "firmware-ivtv firmware-ivtv/license/accepted boolean true" | debconf-set-selections
;;
fonts-mathematica)
log_debug
- echo "fonts-mathematica mathematica-fonts/accept_license boolean true" | debconf-set-selections
+ #echo "fonts-mathematica mathematica-fonts/accept_license boolean true" | debconf-set-selections
;;
mathematica-fonts|ttf-mathematica4.1)
log_debug
apt-get -y install wget
- echo "mathematica-fonts mathematica-fonts/accept_license boolean true" | debconf-set-selections
+ #echo "mathematica-fonts mathematica-fonts/accept_license boolean true" | debconf-set-selections
if [ "$PIUPARTS_DISTRIBUTION" = "lenny" ]; then
- echo "ttf-mathematica4.1 ttf-mathematica4.1/accept_license boolean true" | debconf-set-selections
+ log_debug
+ #echo "ttf-mathematica4.1 ttf-mathematica4.1/accept_license boolean true" | debconf-set-selections
fi
;;
steam|steam-devices|steamcmd)
log_debug
- echo "steam steam/question select I AGREE" | debconf-set-selections
+ #echo "steam steam/question select I AGREE" | debconf-set-selections
;;
zekr-quran-translations-en)
log_debug
- echo "zekr-quran-translations-en quran-translations-en/accepted-Zekr-Quran-Trans boolean true" | debconf-set-selections
+ #echo "zekr-quran-translations-en quran-translations-en/accepted-Zekr-Quran-Trans boolean true" | debconf-set-selections
;;
esac
@@ -81,7 +82,7 @@ if [ "$PIUPARTS_DISTRIBUTION" = "squeeze" ] || \
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
+ #echo "sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true" | debconf-set-selections
;;
jajuk|\
liblucene2-java|\
@@ -95,7 +96,7 @@ if [ "$PIUPARTS_DISTRIBUTION" = "squeeze" ] || \
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
+ #echo "sun-java6-jre shared/accepted-sun-dlj-v1-1 boolean true" | debconf-set-selections
;;
esac
diff --git a/debian/changelog b/debian/changelog
index a45edee..2f7e167 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ piuparts (0.75) UNRELEASED; urgency=medium
- Add new suite: stretch-pu (test packages in stretch-proposed-updates).
- Add new suite: stretch2proposed.
* Add/adjust some exceptions for ancient packages.
+ * scripts/pre_install_extras: Add examples how to preseed license acceptance
+ for non-free and downloader packages.
* scripts/pre_distupgrade_zz_database-server: Run pg_upgradecluster during
dist-upgrades.
* Detect more database setup issues.
--
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