1
0
Fork 0
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:
Nils VAN ZUIJLEN 2021-04-16 11:22:17 +02:00
parent 8fcfc49e46
commit 2de8f0b821

View file

@ -84,6 +84,9 @@ then
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" 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 fi
if [[ $(ynh_app_setting_get --app=$app --key=loginldap_version) != $loginldap_version ]] if [[ $(ynh_app_setting_get --app=$app --key=loginldap_version) != $loginldap_version ]]