diff --git a/README.md b/README.md index 3238ad0..f2a4b9c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Kimai2 app for YunoHost -[![Integration level](https://dash.yunohost.org/integration/kimai2.svg)](https://dash.yunohost.org/appci/app/kimai2) ![](https://ci-apps.yunohost.org/ci/badges/kimai2.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/kimai2.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/kimai2.svg)](https://dash.yunohost.org/appci/app/kimai2) ![](https://ci-apps.yunohost.org/ci/badges/kimai2.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/kimai2.maintain.svg) + [![Install Kimai2 with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=kimai2) > *This package allows you to install kimai2 quickly and simply on a YunoHost server. diff --git a/scripts/install b/scripts/install index b83533c..f648bde 100755 --- a/scripts/install +++ b/scripts/install @@ -120,7 +120,7 @@ else ynh_replace_string --match_string="__REGISTRATION__" --replace_string="false" --target_file="$local_conf" fi - +env_conf="$final_path/.env" # setup application config cp ../conf/.env.mysql $env_conf db_name=$(ynh_sanitize_dbid --db_name=$app) diff --git a/scripts/upgrade b/scripts/upgrade index 1574c7a..6f0af00 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -77,7 +77,7 @@ then if [ `cd $final_path && git rev-parse --is-inside-work-tree` ]; then pushd "$final_path" git fetch --tags - git checkout latest_tag + git checkout $latest_tag popd else ynh_script_progression --message="Upgrading source files..."