mirror of
https://github.com/YunoHost-Apps/civicrm_drupal7_ynh.git
synced 2024-09-03 18:16:19 +02:00
Fix hook
This commit is contained in:
parent
de59ef7c17
commit
844abb886a
1 changed files with 1 additions and 3 deletions
|
@ -1,14 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source /usr/share/yunohost/helpers
|
|
||||||
|
|
||||||
force=${2:-0} # 0/1 --force argument
|
force=${2:-0} # 0/1 --force argument
|
||||||
dryrun=${3:-0} # 0/1 --dry-run argument
|
dryrun=${3:-0} # 0/1 --dry-run argument
|
||||||
pending_conf=$4 # Path of the pending conf file
|
pending_conf=$4 # Path of the pending conf file
|
||||||
|
|
||||||
|
|
||||||
do_pre_regen() {
|
do_pre_regen() {
|
||||||
ynh_replace_string --match_string="thread_stack = 128K" --replace_string="thread_stack = 192K" --target_file="${pending_conf}/../mysql/etc/mysql/my.cnf"
|
sed --in-place "s@thread_stack = 128K@thread_stack = 192K@g" "${pending_conf}/../mysql/etc/mysql/my.cnf"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_post_regen() {
|
do_post_regen() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue