[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#165770: Patch for dpkg bug 165770



tag 165770 +patch
severity 165770 important
thanks

This bug affects debootstrap-installed chroot environments.  :-/

-- 
Matthias Urlichs  |  {M:U} IT Design @ m-u-it.de  |   smurf@smurf.noris.de
Disclaimer: Das Zitat wurde zufällig ausgewählt.  |   http://smurf.noris.de
-- 
Zwei Schafe auf der Wiese. Sagt das eine: "Määähhh!", darauf
das andere: "Mäh selbst!"
diff -rub dpkg-1.10.10/debian/dpkg.postinst dpkg-1.10.10.new/debian/dpkg.postinst
--- dpkg-1.10.10/debian/dpkg.postinst	2003-04-26 22:10:12.000000000 +0200
+++ dpkg-1.10.10.new/debian/dpkg.postinst	2003-06-01 11:16:18.000000000 +0200
@@ -114,7 +114,8 @@
 	esac
 fi
 
-if [ -d /usr/info -a ! -L /usr/info -a ! -L /usr/info/dir ]; then              
+if [ -d /usr/info -a ! -L /usr/info -a ! -L /usr/info/dir \
+		-a -f /usr/info/dir ]; then              
 	echo Moving /usr/info/dir to /usr/share/info/dir.
 	mv /usr/info/dir /usr/share/info/dir
 	if [ -f /usr/info/dir.old ]; then

Reply to: