Skip to content

Commit f1d216c

Browse files
committed
Sync up config files
remove non needed config file
1 parent 19e81f0 commit f1d216c

File tree

3 files changed

+38
-109
lines changed

3 files changed

+38
-109
lines changed

install/common/roundcube/db.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,4 @@
6262
$rcmail_config['db_sequence_messages'] = 'message_ids';
6363

6464

65-
// end db config file
66-
?>
65+
// end db config file

install/deb/roundcube/main.inc.php

Lines changed: 0 additions & 107 deletions
This file was deleted.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/bin/bash
2+
3+
# Hestia Control Panel upgrade script for target version unknow
4+
5+
#######################################################################################
6+
####### Place additional commands below. #######
7+
#######################################################################################
8+
####### Pass through information to the end user in case of a issue or problem #######
9+
####### #######
10+
####### Use add_upgrade_message "My message here" to include a message #######
11+
####### in the upgrade notification email. Example: #######
12+
####### #######
13+
####### add_upgrade_message "My message here" #######
14+
####### #######
15+
####### You can use \n within the string to create new lines. #######
16+
#######################################################################################
17+
18+
upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'no'
19+
upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'no'
20+
upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'no'
21+
upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'no'
22+
upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'
23+
24+
# make sure to sync install qouteshellarg
25+
$HESTIA/bin/v-add-sys-phpmailer
26+
if [ "$FILE_MANAGER" = "true" ]; then
27+
# Sync up filemanger
28+
$HESTIA/bin/v-delete-sys-filemanger
29+
$HESTIA/bin/v-add-sys-filemanger
30+
fi
31+
32+
# Sync up config files #2819
33+
if [ -f "/etc/roundcube/config.inc.php" ]; then
34+
sed -i "s/?>//" /etc/roundcube/config.inc.php
35+
sed -i "s/?>//" /etc/roundcube/db.inc.php
36+
sed -i "s/?>//" /etc/roundcube/minetypes.inc.php
37+
fi

0 commit comments

Comments
 (0)