Code

rules: Reordered commands a bit.
authorSebastian Harl <sh@tokkee.org>
Wed, 2 Feb 2011 12:36:57 +0000 (13:36 +0100)
committerSebastian Harl <sh@tokkee.org>
Wed, 2 Feb 2011 12:36:57 +0000 (13:36 +0100)
debian/rules

index 63c17c3f773c663c54af3056b1a126246dc8ff1e..2ac7f2cf1bb52e4e739d5103248a0fc15bbac3fa 100755 (executable)
@@ -30,10 +30,13 @@ install: build
 
        cp -a system debian/libkohana2-php/usr/share/php/kohana2/
 
+       # install modules
+       cp -a modules debian/libkohana2-modules-php/usr/share/php/kohana2/
+
        # remove DejaVu-Fonts and create symlink
        rm -rf debian/libkohana2-php/usr/share/php/kohana2/system/fonts
 
-       cp -a modules debian/libkohana2-modules-php/usr/share/php/kohana2/
+       # replace jQuery with a symlink to the JavaScript provided by libjs-jquery
        rm -f debian/libkohana2-modules-php/usr/share/php/kohana2/modules/kodoc/views/kodoc/media/js/jquery.js
        ln -s /usr/share/javascript/jquery/jquery.js \
                debian/libkohana2-modules-php/usr/share/php/kohana2/modules/kodoc/views/kodoc/media/js/jquery.js