mirror of
https://github.com/YunoHost-Apps/yeswiki_ynh.git
synced 2024-09-03 18:05:56 +02:00
Replace the version number in wakka.config.php
This commit is contained in:
parent
8fcfc49e46
commit
2de8f0b821
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ then
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
|
||||
ynh_replace_string --match_string="yeswiki_release' \?=> \?'.*',$"\
|
||||
--replace_string="yeswiki_release' => '$(ynh_app_upstream_version)',"\
|
||||
--target_file="$final_path/wakka.config.php"
|
||||
fi
|
||||
|
||||
if [[ $(ynh_app_setting_get --app=$app --key=loginldap_version) != $loginldap_version ]]
|
||||
|
|
Loading…
Reference in a new issue