Changes of Revision 74

debian.rules Changed
x
 
1
@@ -74,6 +74,8 @@
2
 
3
    cp -v ../SOURCES/2017111400.sql SQL/mysql/
4
 
5
+   cp -v ../migrateconfig.sh bin/
6
+
7
    if  -f "/etc/plesk-release" ; then \
8
        cp -v ../SOURCES/plesk.config.inc.php config/config.inc.php ; \
9
        cp -v ../SOURCES/plesk.managesieve.inc.php config/managesieve.inc.php ; \
10
debian.tar.gz/roundcubemail.postinst Changed
17
 
1
@@ -42,10 +42,15 @@
2
         >/dev/null 2>&1 || :
3
 }
4
 
5
+migrate_config() {
6
+    /usr/share/roundcubemail/bin/migrateconfig.sh >/dev/null 2>&1 || :
7
+}
8
+
9
 case "$1" in
10
     configure)
11
         fixperms
12
         update_database
13
+        migrate_config
14
         a2enmod rewrite
15
 
16
         sed -i "s/rcmail-\!24ByteDESkey\*Str/`head -c 200 /dev/urandom | tr -dc _A-Z-a-z-0-9 | head -c24`/" \
17