[debian-edu-commits] debian-edu/ 01/01: Run apt-get autoremove at the end of the installation to get rid of no longer needed dependencies.

Petter Reinholdtsen pere at moszumanska.debian.org
Fri Oct 3 12:55:10 UTC 2014


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

pere pushed a commit to branch master
in repository debian-edu-config.

commit 74d13aca04fdf5f54ddb3f08f8e905bcf5655a86
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Fri Oct 3 14:54:31 2014 +0200

    Run apt-get autoremove at the end of the installation to get rid of no longer needed dependencies.
---
 cf/cf.apt                                   | 6 ++++++
 debian/changelog                            | 2 ++
 share/debian-edu-config/tools/setup-roaming | 3 ---
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/cf/cf.apt b/cf/cf.apt
index ec0b8f3..fffa1f6 100644
--- a/cf/cf.apt
+++ b/cf/cf.apt
@@ -27,3 +27,9 @@ shellcommands:
   debian::
 
     "/usr/sbin/debian-edu-hwsetup"
+
+# Remove unneeded packages at the end of the installation, in case we
+# removed something in the process.
+shellcommands.fifthpass:
+  debian::
+    "/usr/bin/apt-get autoremove -y"
diff --git a/debian/changelog b/debian/changelog
index 7812bce..8673dd4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ debian-edu-config (1.807) UNRELEASED; urgency=high
   * Adjust squid-update-cachedir to work with squid3.
   * Drop ftp source from our cfengine rules to update apt sources.list.
     It is more robust to only use http.
+  * Run apt-get autoremove at the end of the installation to get rid of
+    no longer needed dependencies.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Thu, 02 Oct 2014 21:40:29 +0200
 
diff --git a/share/debian-edu-config/tools/setup-roaming b/share/debian-edu-config/tools/setup-roaming
index b6283da..adbe49f 100755
--- a/share/debian-edu-config/tools/setup-roaming
+++ b/share/debian-edu-config/tools/setup-roaming
@@ -31,9 +31,6 @@ apt-get purge -y nscd
 # throw out the user if he is idle.
 apt-get purge -y killer
 
-# Drop unneeded dependencies too
-apt-get autoremove -y
-
 # try to configure sssd dynamically, fall back to default setup if
 # generation fail
 # sssd refuses to read the sssd.conf file unless it is 0600 root:root

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



More information about the debian-edu-commits mailing list