patch 460513 + patch
thanks

Here a patch

Regards

Laurent Bigonville
diff -u mono-1.2.6+dfsg/debian/mono-mcs.postinst mono-1.2.6+dfsg/debian/mono-mcs.postinst
--- mono-1.2.6+dfsg/debian/mono-mcs.postinst
+++ mono-1.2.6+dfsg/debian/mono-mcs.postinst
@@ -6,14 +6,2 @@
 
-update-alternatives \
-	--install /usr/bin/cli-resgen resource-file-generator /usr/bin/resgen 10 \
-	--slave /usr/share/man/man1/cli-resgen.1.gz cli-resgen.1.gz /usr/share/man/man1/resgen.1.gz
-
-update-alternatives \
-	--install /usr/bin/cli-al assembly-linker /usr/bin/al 10 \
-	--slave /usr/share/man/man1/cli-al.1.gz	cli-al.1.gz /usr/share/man/man1/al.1.gz
-
-update-alternatives \
-	--install /usr/bin/cli-sn strong-name-tool /usr/bin/sn 10 \
-	--slave /usr/share/man/man1/cli-sn.1.gz cli-sn.1.gz /usr/share/man/man1/sn.1.gz
-
 #DEBHELPER#
diff -u mono-1.2.6+dfsg/debian/changelog mono-1.2.6+dfsg/debian/changelog
reverted:
--- mono-1.2.6+dfsg/debian/mono-utils.postint
+++ mono-1.2.6+dfsg.orig/debian/mono-utils.postint
@@ -1,7 +0,0 @@
-#!/bin/sh -e
-
-update-alternatives \
-	 --install /usr/bin/cli-ildasm cil-disassembler /usr/bin/monodis 10 \
-	 --slave /usr/share/man/man1/cli-ildasm.1.gz cli-ildasm.1.gz /usr/share/man/man1/monodis.1.gz
-
-#DEBHELPER#
diff -u mono-1.2.6+dfsg/debian/mono-mcs.prerm mono-1.2.6+dfsg/debian/mono-mcs.prerm
--- mono-1.2.6+dfsg/debian/mono-mcs.prerm
+++ mono-1.2.6+dfsg/debian/mono-mcs.prerm
@@ -2,9 +2,6 @@
 
 if [ "$1" = remove ]; then
         update-alternatives --remove c-sharp-compiler		/usr/bin/mcs
-        update-alternatives --remove resource-file-generator	/usr/bin/resgen
-        update-alternatives --remove assembly-linker		/usr/bin/al
-        update-alternatives --remove strong-name-tool		/usr/bin/sn
 fi
 
 #DEBHELPER#
only in patch2:
unchanged:
--- mono-1.2.6+dfsg.orig/debian/mono-1.0-devel.prerm
+++ mono-1.2.6+dfsg/debian/mono-1.0-devel.prerm
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+if [ "$1" = remove ]; then
+        update-alternatives --remove resource-file-generator	/usr/bin/resgen
+        update-alternatives --remove assembly-linker		/usr/bin/al
+        update-alternatives --remove strong-name-tool		/usr/bin/sn
+fi
+
+#DEBHELPER#
only in patch2:
unchanged:
--- mono-1.2.6+dfsg.orig/debian/mono-utils.postinst
+++ mono-1.2.6+dfsg/debian/mono-utils.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+update-alternatives \
+	 --install /usr/bin/cli-ildasm cil-disassembler /usr/bin/monodis 10 \
+	 --slave /usr/share/man/man1/cli-ildasm.1.gz cli-ildasm.1.gz /usr/share/man/man1/monodis.1.gz
+
+#DEBHELPER#
only in patch2:
unchanged:
--- mono-1.2.6+dfsg.orig/debian/mono-1.0-devel.postinst
+++ mono-1.2.6+dfsg/debian/mono-1.0-devel.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+update-alternatives \
+	--install /usr/bin/cli-resgen resource-file-generator /usr/bin/resgen 10 \
+	--slave /usr/share/man/man1/cli-resgen.1.gz cli-resgen.1.gz /usr/share/man/man1/resgen.1.gz
+
+update-alternatives \
+	--install /usr/bin/cli-al assembly-linker /usr/bin/al 10 \
+	--slave /usr/share/man/man1/cli-al.1.gz	cli-al.1.gz /usr/share/man/man1/al.1.gz
+
+update-alternatives \
+	--install /usr/bin/cli-sn strong-name-tool /usr/bin/sn 10 \
+	--slave /usr/share/man/man1/cli-sn.1.gz cli-sn.1.gz /usr/share/man/man1/sn.1.gz
+
+#DEBHELPER#

Attachment: pgpx21eeAuV7x.pgp
Description: PGP signature

Reply via email to