blob: 3757797698c1a76683d9bda5a962f8360f30be68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
function _kimai2_install() {
echo -e "##### run the following commands to finalize the update ####"
echo -e 'cd /usr/share/webapps/kimai2'
echo -e 'sudo -u http bash'
echo -e 'export PHP_INI_SCAN_DIR=$(pwd)'
echo -e 'bin/console kimai:update'
echo -e 'bin/console cache:clear'
echo -e 'exit'
echo -e "############################################################"
}
post_install() {
_kimai2_install
}
post_upgrade() {
_kimai2_install
}
|