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:
commit
cf30c9797b
2 changed files with 7 additions and 4 deletions
7
conf/app.src
Normal file
7
conf/app.src
Normal 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
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue