1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kimai2_ynh.git synced 2024-09-03 19:26:26 +02:00

Merge branch 'testing' into version-2

This commit is contained in:
eric_G 2023-09-09 17:13:37 +02:00 committed by GitHub
commit cf30c9797b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

7
conf/app.src Normal file
View file

@ -0,0 +1,7 @@
SOURCE_URL=https://github.com/kevinpapst/kimai2/archive/2.0.33.tar.gz
SOURCE_SUM=9cad2555eb115711e100ca129c8152f3ec19ebfde6334a1ec5b7b2009b011959
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=
SOURCE_EXTRACT=true

View file

@ -93,14 +93,10 @@ chown $app:$app "$install_dir/.env"
#=================================================
ynh_script_progression --message="Installing $app..." --weight=1
update-alternatives --set php /usr/bin/php$phpversion
pushd "$install_dir"
ynh_exec_as $app php$phpversion bin/console kimai:update -n
popd
update-alternatives --set php /usr/bin/php${YNH_PHP_VERSION}
#=================================================
# END OF SCRIPT
#=================================================