[pkg-kolab] r1463 - kolab-webclient/trunk/debian
Mathieu Parent
sathieu at alioth.debian.org
Tue Dec 1 21:36:44 UTC 2009
Author: sathieu
Date: 2009-12-01 21:36:44 +0000 (Tue, 01 Dec 2009)
New Revision: 1463
Modified:
kolab-webclient/trunk/debian/changelog
kolab-webclient/trunk/debian/kolab-webclient.postinst
kolab-webclient/trunk/debian/kolab-webclient.prerm
Log:
Very hackish way of handling horde's config in maintainers scripts
Modified: kolab-webclient/trunk/debian/changelog
===================================================================
--- kolab-webclient/trunk/debian/changelog 2009-12-01 21:23:22 UTC (rev 1462)
+++ kolab-webclient/trunk/debian/changelog 2009-12-01 21:36:44 UTC (rev 1463)
@@ -1,4 +1,4 @@
-kolab-webclient (1.2.0-20090514+debian0-2~pre9) UNRELEASED; urgency=low
+kolab-webclient (1.2.0-20090514+debian0-2~pre10) UNRELEASED; urgency=low
* NOT RELEASED YET
* Fix "Permissions wrong on /var/log/kolab-webclient/horde.log"
@@ -13,6 +13,7 @@
- Install all ustream's configuration files (*.php, conf.xml)
- Don't divert horde's conffiles by default
- Don't use registry.d as all apps are enabled by default
+ - Very hackish way of handling horde's config in maintainers scripts
* Cosmetic:
- Add Vcs-{Browser,Svn}
- Updated Standards-Version to 3.8.3: no changes
Modified: kolab-webclient/trunk/debian/kolab-webclient.postinst
===================================================================
--- kolab-webclient/trunk/debian/kolab-webclient.postinst 2009-12-01 21:23:22 UTC (rev 1462)
+++ kolab-webclient/trunk/debian/kolab-webclient.postinst 2009-12-01 21:36:44 UTC (rev 1463)
@@ -66,6 +66,18 @@
#add_horde_diversion nag2/conf.php
#add_horde_diversion passwd3/conf.php
#add_horde_diversion turba2/conf.php
+
+ #overriding horde's symlinks
+ ln -sTf /etc/kolab-webclient/horde3 /usr/share/horde3/config
+ ln -sTf /etc/kolab-webclient/dimp1 /usr/share/horde3/dimp/config
+ ln -sTf /etc/kolab-webclient/imp4 /usr/share/horde3/imp/config
+ ln -sTf /etc/kolab-webclient/ingo1 /usr/share/horde3/ingo/config
+ ln -sTf /etc/kolab-webclient/kronolith2 /usr/share/horde3/kronolith/config
+ #ln -sTf /etc/kolab-webclient/mimp1 /usr/share/horde3/mimp/config
+ ln -sTf /etc/kolab-webclient/mnemo2 /usr/share/horde3/mnemo/config
+ ln -sTf /etc/kolab-webclient/nag2 /usr/share/horde3/nag/config
+ ln -sTf /etc/kolab-webclient/passwd3 /usr/share/horde3/passwd/config
+ ln -sTf /etc/kolab-webclient/turba2 /usr/share/horde3/turba/config
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: kolab-webclient/trunk/debian/kolab-webclient.prerm
===================================================================
--- kolab-webclient/trunk/debian/kolab-webclient.prerm 2009-12-01 21:23:22 UTC (rev 1462)
+++ kolab-webclient/trunk/debian/kolab-webclient.prerm 2009-12-01 21:36:44 UTC (rev 1463)
@@ -34,18 +34,20 @@
#rm_horde_diversion kronolith2/conf.php
#rm_horde_diversion mnemo2/conf.php
#rm_horde_diversion nag2/conf.php
- #em_horde_diversion passwd3/conf.php
+ #rm_horde_diversion passwd3/conf.php
#rm_horde_diversion turba2/conf.php
- ln -sTf /etc/kolab-webclient/horde3 /usr/share/horde3/config
- ln -sTf /etc/kolab-webclient/dimp1 /usr/share/horde3/dimp/config
- ln -sTf /etc/kolab-webclient/imp4 /usr/share/horde3/imp/config
- ln -sTf /etc/kolab-webclient/ingo1 /usr/share/horde3/ingo/config
- ln -sTf /etc/kolab-webclient/kronolith2 /usr/share/horde3/kronolith/config
- #ln -sTf /etc/kolab-webclient/mimp1 /usr/share/horde3/mimp/config
- ln -sTf /etc/kolab-webclient/mnemo2 /usr/share/horde3/mnemo/config
- ln -sTf /etc/kolab-webclient/nag2 /usr/share/horde3/nag/config
- ln -sTf /etc/kolab-webclient/passwd3 /usr/share/horde3/passwd/config
- ln -sTf /etc/kolab-webclient/turba2 /usr/share/horde3/turba/config
+
+ #reverting back to horde's symlinks
+ ln -sTf /etc/horde/horde3 /usr/share/horde3/config
+ ln -sTf /etc/horde/dimp1 /usr/share/horde3/dimp/config
+ ln -sTf /etc/horde/imp4 /usr/share/horde3/imp/config
+ ln -sTf /etc/horde/ingo1 /usr/share/horde3/ingo/config
+ ln -sTf /etc/horde/kronolith2 /usr/share/horde3/kronolith/config
+ #ln -sTf /etc/horde/mimp1 /usr/share/horde3/mimp/config
+ ln -sTf /etc/horde/mnemo2 /usr/share/horde3/mnemo/config
+ ln -sTf /etc/horde/nag2 /usr/share/horde3/nag/config
+ ln -sTf /etc/horde/passwd3 /usr/share/horde3/passwd/config
+ ln -sTf /etc/horde/turba2 /usr/share/horde3/turba/config
;;
upgrade|deconfigure)
More information about the pkg-kolab-devel
mailing list