diff --git a/scripts/install b/scripts/install index eeba3cc..c5d74b5 100644 --- a/scripts/install +++ b/scripts/install @@ -65,8 +65,6 @@ export WITH_DOCKER=no # or source .env ? # Using this for now ynh_script_progression --message="Configuring Bonfire release..." --weight=1 cd $install_dir -ynh_exec_warn ynh_exec_as $app -s $SHELL -lc "node -v" -ynh_exec_warn ynh_exec_as $app -s $SHELL -lc "$ynh_node -v" #ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "mise plugin add erlang https://github.com/asdf-vm/asdf-erlang.git" # add erlang as source #ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "mise install" # install Elixir ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH mix local.hex --force" # install Hex in non-interractive way @@ -81,11 +79,7 @@ export TERM=linux # why is that not defined ? export TERMINFO=/etc/terminfo ### DONT USE GLOBAL NPM INSTALL ynh_replace_string --match_string="npm install --global" --replace_string="npm install" --target_file="$install_dir/justfile" -#ynh_replace_string --match_string="npx" --replace_string="$ynh_npm exec --" --target_file="$install_dir/justfile" -#ynh_exec_warn ynh_exec_as $app -s $SHELL -lc "$ynh_node_load_PATH cat $install_dir/justfile" -ynh_exec_warn sed -n 595,610p $install_dir/justfile ynh_exec_warn_less ynh_exec_as $app -s $SHELL -lc "WITH_DOCKER=no $ynh_node_load_PATH just rel-build" -#ynh_exec_warn_less just rel-build # node needs (root) access to /usr/local/lib/node_modules #================================================= # START SYSTEMD SERVICE - Run the release