[debian-edu-commits] debian-edu/ 02/02: Drop aptitude divert from edu-eatmydata-install. It is not installed by default and the speed gain is minimal.
Petter Reinholdtsen
pere at moszumanska.debian.org
Sat Sep 20 02:51:08 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-install.
commit f5eec5bc27aecc97a361b8d9a0c7def78d2e233f
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Sat Sep 20 04:51:00 2014 +0200
Drop aptitude divert from edu-eatmydata-install. It is not installed by default and the speed gain is minimal.
---
debian/changelog | 2 ++
tools/edu-eatmydata-install | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3098d96..12a1409 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
debian-edu-install (1.802) UNRELEASED; urgency=low
* Fix typo in error message from edu-eatmydata-install.
+ * Drop aptitude divert from edu-eatmydata-install. It is not
+ installed by default and the speed gain is minimal.
-- Petter Reinholdtsen <pere at debian.org> Sat, 20 Sep 2014 04:49:32 +0200
diff --git a/tools/edu-eatmydata-install b/tools/edu-eatmydata-install
index b730573..42f19af 100755
--- a/tools/edu-eatmydata-install
+++ b/tools/edu-eatmydata-install
@@ -19,7 +19,7 @@ trap at_exit INT TERM EXIT
enable_override() {
apt-install eatmydata || true
if [ -x /target/usr/bin/eatmydata ] ; then
- for bin in dpkg apt-get aptitude tasksel ; do
+ for bin in dpkg apt-get tasksel ; do
file=/usr/bin/$bin
# Test that the file exist and have not been diverted already.
if [ -f /target/usr/bin/$bin ] ; then
@@ -40,7 +40,7 @@ enable_override() {
}
disable_override() {
- for bin in dpkg apt-get aptitude tasksel ; do
+ for bin in dpkg apt-get tasksel ; do
file=/usr/bin/$bin
if [ -x /target$file.edu ] ; then
info "removing eatmydata divert for /usr/bin/$bin"
--
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