mirror of
https://github.com/YunoHost-Apps/nocodb_ynh.git
synced 2024-09-03 19:56:01 +02:00
Fix install
This commit is contained in:
parent
5e8a7a4b23
commit
e3d0625810
3 changed files with 5 additions and 8 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "No-code platform that turns any database into a smart spreadsheet",
|
||||
"fr": "Plateform sans code qui transforme toute base de données en un tableur intelligent."
|
||||
},
|
||||
"version": "0.98.1~ynh1",
|
||||
"version": "0.98.1~ynh2",
|
||||
"url": "https://www.nocodb.com",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0-only",
|
||||
|
|
|
@ -126,14 +126,11 @@ pushd $final_path
|
|||
if [ $YNH_ARCH = "arm64" ]; then
|
||||
ynh_print_info --message="Retrieving and building OracleDB for ARM64..."
|
||||
ynh_exec_warn_less ynh_exec_as $app git clone --recursive https://github.com/oracle/node-oracledb.git oracledb
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install ./oracledb
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install ./oracledb
|
||||
ynh_print_info --message="...Done! Installing NocoDB now..."
|
||||
fi
|
||||
|
||||
# https://github.com/Marak/colors.js/issues/285
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install colors@1.4.0 --save-exact
|
||||
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -114,11 +114,11 @@ pushd $final_path
|
|||
ynh_print_info --message="Retrieving and building OracleDB for ARM64..."
|
||||
ynh_secure_remove oracledb
|
||||
ynh_exec_warn_less ynh_exec_as $app git clone --recursive https://github.com/oracle/node-oracledb.git oracledb
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install ./oracledb
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install ./oracledb
|
||||
ynh_print_info --message="...Done! Installing NocoDB now..."
|
||||
fi
|
||||
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install
|
||||
ynh_exec_warn_less ynh_exec_as $app $ynh_node_load_PATH NODE_ENV="production" $ynh_npm install --force
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue