mirror of
https://github.com/YunoHost-Apps/kanboard_ynh.git
synced 2024-09-03 19:36:17 +02:00
Add ynh_replace_string for PHP version
This commit is contained in:
parent
24aba6bce9
commit
3145128960
3 changed files with 3 additions and 1 deletions
|
@ -244,4 +244,4 @@ define('SHOW_GROUP_MEMBERSHIPS_IN_USERLIST', true);
|
||||||
// Limit number of groups to display in userlist (The full list of group-memberships is always shown, ...
|
// Limit number of groups to display in userlist (The full list of group-memberships is always shown, ...
|
||||||
// ... when hovering the mouse over the group-icon of a given user!)
|
// ... when hovering the mouse over the group-icon of a given user!)
|
||||||
// If set to 0 ALL group-memberships will be listed (7 by default)
|
// If set to 0 ALL group-memberships will be listed (7 by default)
|
||||||
define('SHOW_GROUP_MEMBERSHIPS_IN_USERLIST_WITH_LIMIT', 7);
|
define('SHOW_GROUP_MEMBERSHIPS_IN_USERLIST_WITH_LIMIT', 7);
|
||||||
|
|
|
@ -152,6 +152,7 @@ ynh_script_progression --message="Setuping a cron..."
|
||||||
cp ../conf/cron_kanboard /etc/cron.d/$app
|
cp ../conf/cron_kanboard /etc/cron.d/$app
|
||||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app"
|
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app"
|
||||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app"
|
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app"
|
||||||
|
ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="/etc/cron.d/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
|
|
|
@ -179,6 +179,7 @@ ynh_script_progression --message="Setuping a cron..."
|
||||||
cp ../conf/cron_kanboard /etc/cron.d/$app
|
cp ../conf/cron_kanboard /etc/cron.d/$app
|
||||||
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app"
|
ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file="/etc/cron.d/$app"
|
||||||
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app"
|
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="/etc/cron.d/$app"
|
||||||
|
ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="/etc/cron.d/$app"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
|
|
Loading…
Add table
Reference in a new issue