[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.49-30-gbd8fd0e

Andreas Beckmann debian at abeckmann.de
Mon Jan 21 17:39:02 UTC 2013


The following commit has been merged in the piatti branch:
commit 0d9f7af7634c7f23c070aee990f51cb9aaf0b58f
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Dec 3 00:50:09 2012 +0100

    pre_install_exceptions: lenny: prefer inn over cnews
    
    cnews has a bad version number: cr.g7-40.4 and dpkg 1.16 does not like this
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/custom-scripts/scripts/pre_install_exceptions b/custom-scripts/scripts/pre_install_exceptions
index cf3e12e..d7fae27 100755
--- a/custom-scripts/scripts/pre_install_exceptions
+++ b/custom-scripts/scripts/pre_install_exceptions
@@ -107,6 +107,14 @@ if [ "$PIUPARTS_DISTRIBUTION" = "lenny" ]; then
 				;;
 	esac
 
+	# prefer inn over cnews (bad version number cr.g7-40.4)
+	case ${PIUPARTS_OBJECTS%%=*} in
+		newsx|post-faq)
+				log_debug
+				apt-get -y install inn
+				;;
+	esac
+
 	# allow lenny kernel image installation in chroot
 	for flavor in amd64 openvz-amd64 vserver-amd64 xen-amd64 486 686 686-bigmem openvz-686 vserver-686 vserver-686-bigmem xen-686
 	do

-- 
piuparts git repository



More information about the Piuparts-commits mailing list