[Pkg-mono-svn-commits] [SCM] xsp branch, master, updated. debian/2.6.5-3-42-g87885a0

Jo Shields directhex at apebox.org
Mon Mar 28 07:59:38 UTC 2011


The following commit has been merged in the master branch:
commit 18cc2dfcb599a0e7e6bdc20fbc707b2d8e175d3e
Author: Jo Shields <directhex at apebox.org>
Date:   Sun Mar 27 13:56:48 2011 +0100

    Replace XSP 1 preinst/postrm with XSP4 equivalents

diff --git a/debian/postinst-monoxsp1 b/debian/postinst-monoxsp1
deleted file mode 100644
index 9fb6454..0000000
--- a/debian/postinst-monoxsp1
+++ /dev/null
@@ -1,8 +0,0 @@
-if [ "$1" = "configure" ]; then
-    if [ -x /usr/sbin/mono-xsp-update ]; then
-	/usr/sbin/mono-xsp-update || true
-    fi
-    if [ -x /usr/sbin/mono-server-update ]; then
-	/usr/sbin/mono-server-update || true
-    fi
-fi
diff --git a/debian/postinst-monoxsp4 b/debian/postinst-monoxsp4
new file mode 100644
index 0000000..6a34b7c
--- /dev/null
+++ b/debian/postinst-monoxsp4
@@ -0,0 +1,8 @@
+if [ "$1" = "configure" ]; then
+    if [ -x /usr/sbin/mono-xsp4-update ]; then
+	/usr/sbin/mono-xsp4-update || true
+    fi
+    if [ -x /usr/sbin/mono-server4-update ]; then
+	/usr/sbin/mono-server4-update || true
+    fi
+fi
diff --git a/debian/postrm-monoxsp1 b/debian/postrm-monoxsp1
deleted file mode 100644
index b3e413a..0000000
--- a/debian/postrm-monoxsp1
+++ /dev/null
@@ -1,9 +0,0 @@
-if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
-    if [ -x /usr/sbin/mono-xsp-update ]; then
-	/usr/sbin/mono-xsp-update || true
-    fi
-    if [ -x /usr/sbin/mono-server-update ]; then
-	/usr/sbin/mono-server-update || true
-    fi
-fi
-
diff --git a/debian/postrm-monoxsp4 b/debian/postrm-monoxsp4
new file mode 100644
index 0000000..8ac1a99
--- /dev/null
+++ b/debian/postrm-monoxsp4
@@ -0,0 +1,8 @@
+if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
+    if [ -x /usr/sbin/mono-xsp4-update ]; then
+	/usr/sbin/mono-xsp4-update || true
+    fi
+    if [ -x /usr/sbin/mono-server4-update ]; then
+	/usr/sbin/mono-server4-update || true
+    fi
+fi

-- 
xsp



More information about the Pkg-mono-svn-commits mailing list