summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d5c6ac6)
raw | patch | inline | side by side (parent: d5c6ac6)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 Feb 2011 13:08:27 +0000 (14:08 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 2 Feb 2011 13:08:27 +0000 (14:08 +0100) |
debian/libkohana2-modules-php.dirs | patch | blob | history | |
debian/libkohana2-php.dirs | patch | blob | history | |
debian/rules | patch | blob | history |
index dee1ba6752ded1f68b5b9212c6aa02e60dcb2645..da6ef243e580ec4bf93f3f69df6b1293ba0e532e 100644 (file)
+etc/kohana2/modules
usr/share/php/kohana2
usr/share/php/kohana2
index dee1ba6752ded1f68b5b9212c6aa02e60dcb2645..b376843d790094979c22a630e6bc9d8858daaf9c 100644 (file)
+etc/kohana2/system
usr/share/php/kohana2
usr/share/php/kohana2
diff --git a/debian/rules b/debian/rules
index a8ede19ee6a6fb942e98f22d9e302153856d5418..c4ad8a3538fa9d67a55f537496571f424d441311 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
# install modules
cp -a modules debian/libkohana2-modules-php/usr/share/php/kohana2/
# install modules
cp -a modules debian/libkohana2-modules-php/usr/share/php/kohana2/
+ # move config to /etc
+ mv debian/libkohana2-php/usr/share/php/kohana2/system/config \
+ debian/libkohana2-php/etc/kohana2/system
+ ln -s /etc/kohana2/system/config \
+ debian/libkohana2-php/usr/share/php/kohana2/system/config
+
+ ( \
+ set -e; \
+ cd debian/libkohana2-modules-php/usr/share/php/kohana2/modules; \
+ for config in */config; do \
+ mkdir ../../../../../etc/kohana2/modules/$${config%\/*}; \
+ mv $$config ../../../../../etc/kohana2/modules/$${config%\/*}; \
+ ln -s /etc/kohana2/modules/$$config $$config; \
+ done \
+ )
+
# remove DejaVu-Fonts and create symlink
rm -rf debian/libkohana2-php/usr/share/php/kohana2/system/fonts
# remove DejaVu-Fonts and create symlink
rm -rf debian/libkohana2-php/usr/share/php/kohana2/system/fonts