1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00
framaforms_ynh/scripts/_common.sh

27 lines
739 B
Bash
Raw Normal View History

#!/bin/bash
2018-05-01 22:36:16 +02:00
#=================================================
2019-06-14 18:57:58 +02:00
# COMMON VARIABLES
2018-05-01 22:36:16 +02:00
#=================================================
2021-06-04 16:16:35 +02:00
YNH_COMPOSER_VERSION="1.10.17"
2019-06-14 18:57:58 +02:00
#=================================================
# PERSONAL HELPERS
#=================================================
2018-05-01 22:36:16 +02:00
2024-03-16 13:58:59 +01:00
_ynh_exec_with_drush_php() {
ynh_exec_warn_less ynh_exec_as "$app" \
2024-03-18 15:06:56 +01:00
env PATH="$install_dir/.composer/vendor/bin:$PATH" \
DRUSH_PHP="/usr/bin/php$phpversion" \
2024-03-16 13:58:59 +01:00
"$@"
}
2019-06-14 18:57:58 +02:00
#=================================================
# EXPERIMENTAL HELPERS
#=================================================
2018-05-01 22:36:16 +02:00
2020-06-03 01:58:54 +02:00
#=================================================
# FUTURE OFFICIAL HELPERS
#=================================================