mirror of
https://github.com/YunoHost-Apps/wallabag2_ynh.git
synced 2024-10-01 13:35:06 +02:00
Update _common.sh
This commit is contained in:
parent
877c74deaa
commit
1c1ad4a91f
1 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,12 @@ YNH_COMPOSER_VERSION="2.7.7"
|
|||
|
||||
wb_conf="$install_dir/app/config/parameters.yml"
|
||||
|
||||
# Define a function to execute commands with `php_exec`
|
||||
php_exec() {
|
||||
(cd "$install_dir" && ynh_exec_as "$app" \
|
||||
php${phpversion} "$install_dir/bin/console" --no-interaction --env=prod "$@")
|
||||
}
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue