feat core
: Add React as required dependency as it is used by the Pterodactyl panel.
This commit is contained in:
parent
e05c13d45e
commit
9b8f0ab9c3
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,7 @@ depend() {
|
|||
! [ -x "$(command -v awk)" ] || # awk
|
||||
! [ "$(ls "node_modules/"*"cross-env"* 2> /dev/null)" ] || # cross-env
|
||||
! [ "$(ls "node_modules/"*"webpack"* 2> /dev/null)" ] || # webpack
|
||||
! [ "$(ls "node_modules/"*"react"* 2> /dev/null)" ] || # react
|
||||
[[ $missinglibs != "" ]]; then # internal
|
||||
DEPEND_MISSING=true
|
||||
fi
|
||||
|
@ -163,6 +164,7 @@ depend() {
|
|||
if ! [ -x "$(command -v awk)" ]; then log_red " - \"awk\" is not installed or detected."; fi
|
||||
if ! [ "$(ls "node_modules/"*"cross-env"* 2> /dev/null)" ]; then log_red " - \"cross-env\" is not installed or detected."; fi
|
||||
if ! [ "$(ls "node_modules/"*"webpack"* 2> /dev/null)" ]; then log_red " - \"webpack\" is not installed or detected."; fi
|
||||
if ! [ "$(ls "node_modules/"*"react"* 2> /dev/null)" ]; then log_red " - \"react\" is not installed or detected."; fi
|
||||
|
||||
if [[ $missinglibs == *"[bash_colors]"* ]]; then log_red " - \"internal:bash_colors\" is not installed or detected."; fi
|
||||
if [[ $missinglibs == *"[parse_yaml]"* ]]; then log_red " - \"internal:parse_yaml\" is not installed or detected."; fi
|
||||
|
|
Loading…
Reference in a new issue