mirror of
https://github.com/YunoHost-Apps/kimai2_ynh.git
synced 2024-09-03 19:26:26 +02:00
Updated readme, variable errors in install and upgrade
This commit is contained in:
parent
1f6d296135
commit
9d97fe3097
3 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Kimai2 app for YunoHost
|
# Kimai2 app for YunoHost
|
||||||
|
|
||||||
[](https://dash.yunohost.org/appci/app/kimai2)  
|
[](https://dash.yunohost.org/appci/app/kimai2)  
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=kimai2)
|
[](https://install-app.yunohost.org/?app=kimai2)
|
||||||
|
|
||||||
> *This package allows you to install kimai2 quickly and simply on a YunoHost server.
|
> *This package allows you to install kimai2 quickly and simply on a YunoHost server.
|
||||||
|
|
|
@ -120,7 +120,7 @@ else
|
||||||
ynh_replace_string --match_string="__REGISTRATION__" --replace_string="false" --target_file="$local_conf"
|
ynh_replace_string --match_string="__REGISTRATION__" --replace_string="false" --target_file="$local_conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
env_conf="$final_path/.env"
|
||||||
# setup application config
|
# setup application config
|
||||||
cp ../conf/.env.mysql $env_conf
|
cp ../conf/.env.mysql $env_conf
|
||||||
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
db_name=$(ynh_sanitize_dbid --db_name=$app)
|
||||||
|
|
|
@ -77,7 +77,7 @@ then
|
||||||
if [ `cd $final_path && git rev-parse --is-inside-work-tree` ]; then
|
if [ `cd $final_path && git rev-parse --is-inside-work-tree` ]; then
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
git checkout latest_tag
|
git checkout $latest_tag
|
||||||
popd
|
popd
|
||||||
else
|
else
|
||||||
ynh_script_progression --message="Upgrading source files..."
|
ynh_script_progression --message="Upgrading source files..."
|
||||||
|
|
Loading…
Add table
Reference in a new issue