#! /bin/sh /usr/share/dpatch/dpatch-run
## use-libjs-mootools.dpatch by Vagrant Cascadian <vagrant@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.

## DP: use mootools shipped with libjs-mootools rather than shipping private
## DP: copy. http://bugs.debian.org/585590

@DPATCH@
diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' zoneminder-1.24.2~/web/skins/classic/includes/functions.php zoneminder-1.24.2/web/skins/classic/includes/functions.php
--- zoneminder-1.24.2~/web/skins/classic/includes/functions.php	2009-03-27 09:01:29.000000000 -0700
+++ zoneminder-1.24.2/web/skins/classic/includes/functions.php	2010-06-27 23:38:29.000000000 -0700
@@ -59,9 +59,8 @@
 <?php
     }
 ?>
-  <script type="text/javascript" src="tools/mootools/mootools-1.2.1-core-nc.js"></script>
-  <script type="text/javascript" src="tools/mootools/mootools-1.2-more-nc.js"></script>
-  <script type="text/javascript" src="js/mootools.ext.js"></script>
+  <script type="text/javascript" src="/javascript/mootools/mootools.js"></script>
+  <script type="text/javascript" src="/javascript/mootools/mootools-more.js"></script>
 <?php
     if ( $skinJsPhpFile )
     {
