tags 689506 + patch
tags 689506 + pending
thanks

Dear maintainer,

I've prepared an NMU for moodle (versioned as 2.2.3.dfsg-2.4) and
uploaded it straight away.

Regards.
diff -Nru moodle-2.2.3.dfsg/debian/changelog moodle-2.2.3.dfsg/debian/changelog
--- moodle-2.2.3.dfsg/debian/changelog	2012-09-28 12:58:50.000000000 +0200
+++ moodle-2.2.3.dfsg/debian/changelog	2012-10-28 15:01:14.000000000 +0100
@@ -1,3 +1,12 @@
+moodle (2.2.3.dfsg-2.4) unstable; urgency=low
+
+  * Non-maintainer upload.
+
+  * Drop a left-over symlink in favour of the shipped directory.
+   (Closes: #689506)
+
+ -- Didier Raboud <o...@debian.org>  Sun, 28 Oct 2012 15:01:09 +0100
+
 moodle (2.2.3.dfsg-2.3) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru moodle-2.2.3.dfsg/debian/preinst moodle-2.2.3.dfsg/debian/preinst
--- moodle-2.2.3.dfsg/debian/preinst	1970-01-01 01:00:00.000000000 +0100
+++ moodle-2.2.3.dfsg/debian/preinst	2012-10-28 15:57:28.000000000 +0100
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+case "$1" in
+  install|upgrade)
+    if dpkg --compare-versions "$2" lt "2.2.3.dfsg-2.4"; then
+      # Make sure the new Moodle can install its file in yui - #689506
+      [ -h /usr/share/moodle/lib/yui ] && rm -f /usr/share/moodle/lib/yui
+    fi
+  ;;
+esac
+
+#DEBHELPER#

Reply via email to