1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cachet_ynh.git synced 2024-09-03 18:16:03 +02:00
cachet_ynh/scripts/_common.sh
ericgaspar deae34f3cd
Revert "Update _common.sh"
This reverts commit 5e73cd14c4.
2021-12-07 18:48:16 +01:00

27 lines
753 B
Bash

#!/bin/bash
#=================================================
# COMMON VARIABLES
#=================================================
YNH_PHP_VERSION="7.3"
pkg_dependencies="php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-sqlite3"
# Composer version
YNH_COMPOSER_VERSION="1.10.17"
#=================================================
# PERSONAL HELPERS
#=================================================
# Execute a command with occ
exec_artisan() {
(cd "$final_path" &&
php$YNH_PHP_VERSION artisan $@ --quiet --no-interaction)
}
#=================================================
# EXPERIMENTAL HELPERS
#=================================================