forked from openmsa/python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·15 lines (14 loc) · 799 Bytes
/
install.sh
File metadata and controls
executable file
·15 lines (14 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
set -euo pipefail
. /usr/share/install-libraries/il-lib.sh
emit_step "Remove old msa_sdk folders."
color mkdir -p /opt/fmc_repository/Process/PythonReference
color rm -Rf /opt/fmc_repository/Process/PythonReference/msa_sdk*
color ln -sf /opt/fmc_repository/python-sdk/msa_sdk /opt/fmc_repository/Process/PythonReference/msa_sdk
emit_step "Remove old transformers folders."
color mkdir -p /opt/fmc_repository/Process/PythonReference
color rm -Rf /opt/fmc_repository/Process/PythonReference/transformers*
color ln -sf /opt/fmc_repository/python-sdk/transformers /opt/fmc_repository/Process/PythonReference/transformers
emit_step "Create custom folder."
color mkdir -p /opt/fmc_repository/Process/PythonReference/custom
touch /opt/fmc_repository/Process/PythonReference/custom/__init__.py