[debian-edu-commits] debian-edu/ 01/01: Fix typo in cleanup code in finish-install.

Petter Reinholdtsen pere at moszumanska.debian.org
Mon Sep 15 21:13:39 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 f918d88744665f917cca193c61e6e3b69331ec1c
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Mon Sep 15 23:13:15 2014 +0200

    Fix typo in cleanup code in finish-install.
---
 finish-install | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/finish-install b/finish-install
index debc98f..c941ef6 100755
--- a/finish-install
+++ b/finish-install
@@ -27,10 +27,10 @@ trap at_exit INT TERM EXIT
 # the installation.
 remove_install_override() {
     for bin in dpkg apt-get aptitude tasksel ; do
-	file=/target/usr/bin/$bin
+	file=/usr/bin/$bin
 	if [ -x /target$file.edu ] ; then
 	    rm /target$file
-	    chroot /target dpkg-divert --package debian-edu-config \
+	    in-target dpkg-divert --package debian-edu-config \
 		--rename --quiet --remove $file
 	    rm /target$file.edu
 	else

-- 
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