1 |
stephdl |
1.1 |
diff -Nur smeserver-roundcube-1.2.old/root/etc/e-smith/db/configuration/migrate/80roundcube_Plugins_Migration smeserver-roundcube-1.2.new/root/etc/e-smith/db/configuration/migrate/80roundcube_Plugins_Migration |
2 |
|
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/db/configuration/migrate/80roundcube_Plugins_Migration 2015-09-21 23:01:53.857074451 +0200 |
3 |
|
|
+++ smeserver-roundcube-1.2.new/root/etc/e-smith/db/configuration/migrate/80roundcube_Plugins_Migration 2015-09-21 23:05:44.386764892 +0200 |
4 |
|
|
@@ -20,4 +20,25 @@ |
5 |
|
|
$plugins =~ s/,carddav//g; |
6 |
|
|
$cdb->set_prop('roundcube','PluginsList',"$plugins"); |
7 |
|
|
} |
8 |
|
|
+ |
9 |
|
|
+#remove calendar |
10 |
|
|
+ if ($plugins =~ 'calendar') |
11 |
|
|
+ { |
12 |
|
|
+ $plugins =~ s/,calendar//g; |
13 |
|
|
+ $cdb->set_prop('roundcube','PluginsList',"$plugins"); |
14 |
|
|
+ } |
15 |
|
|
+ |
16 |
|
|
+#remove libcalendaring |
17 |
|
|
+ if ($plugins =~ 'libcalendaring') |
18 |
|
|
+ { |
19 |
|
|
+ $plugins =~ s/,libcalendaring//g; |
20 |
|
|
+ $cdb->set_prop('roundcube','PluginsList',"$plugins"); |
21 |
|
|
+ } |
22 |
|
|
+ |
23 |
|
|
+#remove tasklist |
24 |
|
|
+ if ($plugins =~ 'tasklist') |
25 |
|
|
+ { |
26 |
|
|
+ $plugins =~ s/,tasklist//g; |
27 |
|
|
+ $cdb->set_prop('roundcube','PluginsList',"$plugins"); |
28 |
|
|
+ } |
29 |
|
|
} |
30 |
|
|
diff -Nur smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube smeserver-roundcube-1.2.new/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube |
31 |
|
|
--- smeserver-roundcube-1.2.old/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube 2015-09-21 23:01:53.860074670 +0200 |
32 |
|
|
+++ smeserver-roundcube-1.2.new/root/etc/e-smith/templates/etc/e-smith/sql/init/80roundcube 2015-09-21 23:10:36.480917936 +0200 |
33 |
|
|
@@ -5,9 +5,10 @@ |
34 |
|
|
$OUT .= <<END |
35 |
|
|
#! /bin/sh |
36 |
|
|
if [ -d /var/lib/mysql/$db ]; then |
37 |
|
|
- /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/database/SQL/mysql.initial.sql |
38 |
|
|
- /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql |
39 |
|
|
- /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/tasklist/drivers/database/SQL/mysql.initial.sql |
40 |
|
|
+#these plugins are no more in the core |
41 |
|
|
+# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/database/SQL/mysql.initial.sql |
42 |
|
|
+# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql |
43 |
|
|
+# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/tasklist/drivers/database/SQL/mysql.initial.sql |
44 |
|
|
exit |
45 |
|
|
fi |
46 |
|
|
/usr/bin/mysql <<EOF |
47 |
|
|
@@ -19,8 +20,10 @@ |
48 |
|
|
IDENTIFIED BY '$pass'; |
49 |
|
|
flush privileges; |
50 |
|
|
EOF |
51 |
|
|
- /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/database/SQL/mysql.initial.sql |
52 |
|
|
- /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql |
53 |
|
|
- /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/tasklist/drivers/database/SQL/mysql.initial.sql |
54 |
|
|
+ |
55 |
|
|
+#these plugins are no more in the core |
56 |
|
|
+# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/database/SQL/mysql.initial.sql |
57 |
|
|
+# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/calendar/drivers/kolab/SQL/mysql.initial.sql |
58 |
|
|
+# /usr/bin/mysql $db < /usr/share/roundcubemail/plugins/tasklist/drivers/database/SQL/mysql.initial.sql |
59 |
|
|
END |
60 |
|
|
} |