[debian-edu-commits] debian-edu/ 01/03: debian/debian-edu-profile-udeb.postinst: Add workaround to unset DEBIAN_TASKS_ONLY.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Tue Jan 3 12:56:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-install.

commit 31db02a3be63725b903797382ee8861ec8f7daa2
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Tue Jan 3 13:41:13 2017 +0100

    debian/debian-edu-profile-udeb.postinst: Add workaround to unset DEBIAN_TASKS_ONLY.
---
 debian/debian-edu-profile-udeb.postinst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/debian/debian-edu-profile-udeb.postinst b/debian/debian-edu-profile-udeb.postinst
index a5f7ecd..d3d701c 100755
--- a/debian/debian-edu-profile-udeb.postinst
+++ b/debian/debian-edu-profile-udeb.postinst
@@ -4,5 +4,12 @@ set -e
 
 #DEBHELPER#
 
+# Get rid of setting DEBIAN_TASKS_ONLY (introduced by pkgsel-udeb 0.45)
+# to allow the installation of education tasks in the target chroot,
+# where this setting is evaluated (since tasksel 3.39).
+if [ -e /var/lib/dpkg/info/pkgsel.postinst ] ; then
+    sed -i s/DEBIAN_TASKS_ONLY=1// /var/lib/dpkg/info/pkgsel.postinst
+fi
+
 # Ask about which profile to install.
 debian-edu-profile

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-install.git



More information about the debian-edu-commits mailing list