Warnings mis dans les templates
This commit is contained in:
parent
a67f649279
commit
6488bd561b
|
@ -39,7 +39,7 @@ then
|
|||
. /etc/alternc/local.sh
|
||||
# Configuration template location
|
||||
TEMPLATE_DIR="/etc/alternc/templates"
|
||||
CONFIG_FILES="etc/roundcube/main.inc.php etc/roundcube/plugins/password/config.inc.php"
|
||||
CONFIG_FILES="etc/roundcube/main.inc.php etc/roundcube/plugins/password/config.inc.php etc/roundcube/plugins/managesieve/config.inc.php"
|
||||
LOGROTATE_FILES="etc/logrotate.d/roundcube-core"
|
||||
|
||||
cat > $SED_SCRIPT <<EOF
|
||||
|
@ -54,25 +54,7 @@ EOF
|
|||
TEMPLATE="$TEMPLATE_DIR/${file##etc/}"
|
||||
echo -n " $file"
|
||||
if [ -f "$TEMPLATE" ]; then
|
||||
(
|
||||
echo '<?php'
|
||||
echo '/*****************************************************/'
|
||||
echo '/* /!\ DO NOT EDIT THIS FILE /!\ */'
|
||||
echo '/* Edit the one in /etc/alternc/templates/roundcube/ */'
|
||||
echo '/* and launch alternc.install again. */'
|
||||
echo '/*****************************************************/'
|
||||
echo ''
|
||||
) > /$file
|
||||
sed -f "$SED_SCRIPT" < $TEMPLATE >> /$file
|
||||
(
|
||||
echo ''
|
||||
echo '/*****************************************************/'
|
||||
echo '/* /!\ DO NOT EDIT THIS FILE /!\ */'
|
||||
echo '/* Edit the one in /etc/alternc/templates/roundcube/ */'
|
||||
echo '/* and launch alternc.install again. */'
|
||||
echo '/*****************************************************/'
|
||||
echo '?>'
|
||||
) >> /$file
|
||||
sed -f "$SED_SCRIPT" < $TEMPLATE > /$file
|
||||
fi
|
||||
done
|
||||
|
||||
|
@ -84,15 +66,7 @@ EOF
|
|||
TEMPLATE="$TEMPLATE_DIR/${file##etc/}"
|
||||
echo -n " $file"
|
||||
if [ -f "$TEMPLATE" ]; then
|
||||
(
|
||||
echo '#######################################################'
|
||||
echo '# /!\ DO NOT EDIT THIS FILE /!\ #'
|
||||
echo '# Edit the one in /etc/alternc/templates/logrotate.d/ #'
|
||||
echo '# and launch alternc.install again. #'
|
||||
echo '#######################################################'
|
||||
echo ''
|
||||
) > /$file
|
||||
cat $TEMPLATE >> /$file
|
||||
cat $TEMPLATE > /$file
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
######
|
||||
# Configuration file of Roundcube's logrotate for AlternC
|
||||
#
|
||||
# /!\ WARNING /!\ Do not edit this file, edit the one in
|
||||
# /etc/alternc/templates/logrotate.d/ and launch alternc.install again.
|
||||
######
|
||||
|
||||
/var/log/roundcube/password /var/log/roundcube/errors /var/log/roundcube/sendmail /var/log/roundcube/userlogins {
|
||||
create 0640 alternc-roundcube root
|
||||
compress
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
<?php
|
||||
|
||||
/***********************************************************************/
|
||||
// Roundcube's Configuration file for AlternC //
|
||||
// //
|
||||
// /!\ WARNING /!\ Do not edit this file, edit the one in //
|
||||
// /etc/alternc/templates/roundcube/ and launch alternc.install again. //
|
||||
// //
|
||||
/***********************************************************************/
|
||||
|
||||
/*
|
||||
+-----------------------------------------------------------------------+
|
||||
|
@ -790,3 +799,5 @@ $rcmail_config['spellcheck_before_send'] = false;
|
|||
$rcmail_config['autocomplete_single'] = false;
|
||||
|
||||
// end of config file
|
||||
|
||||
?>
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
<?php
|
||||
|
||||
/***********************************************************************/
|
||||
// Configuration file of managesieve's plugin of Roundcube for AlternC //
|
||||
// //
|
||||
// /!\ WARNING /!\ Do not edit this file, edit the one in //
|
||||
// /etc/alternc/templates/roundcube/plugins/managesieve/ //
|
||||
// and launch alternc.install again. //
|
||||
// //
|
||||
/***********************************************************************/
|
||||
|
||||
// managesieve server port
|
||||
$rcmail_config['managesieve_port'] = 2000;
|
||||
|
@ -63,3 +73,4 @@ $rcmail_config['managesieve_filename_extension'] = '.sieve';
|
|||
// Scripts listed here will be not presented to the user.
|
||||
$rcmail_config['managesieve_filename_exceptions'] = array();
|
||||
|
||||
?>
|
||||
|
|
|
@ -1,3 +1,13 @@
|
|||
<?php
|
||||
|
||||
/***********************************************************************/
|
||||
// Configuration file of password's plugin of Roundcube for AlternC //
|
||||
// //
|
||||
// /!\ WARNING /!\ Do not edit this file, edit the one in //
|
||||
// /etc/alternc/templates/roundcube/plugins/password/ //
|
||||
// and launch alternc.install again. //
|
||||
// //
|
||||
/***********************************************************************/
|
||||
|
||||
// Password Plugin options
|
||||
// -----------------------
|
||||
|
@ -305,3 +315,4 @@ $rcmail_config['hmailserver_server'] = array(
|
|||
// 7: domain_username
|
||||
$rcmail_config['password_virtualmin_format'] = 0;
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue