@@ -25,7 +25,7 @@ __DESCRIPTION__
25
25
#!/usr/bin/env bash
26
26
27
27
##--------------------------------------------------------------------
28
- ## Copyright (c) 2019 Dianomic Systems Inc.
28
+ ## Copyright (c) 2022 Dianomic Systems Inc.
29
29
##
30
30
## Licensed under the Apache License, Version 2.0 (the "License");
31
31
## you may not use this file except in compliance with the License.
@@ -54,7 +54,7 @@ __DESCRIPTION__
54
54
#!/usr/bin/env bash
55
55
56
56
##--------------------------------------------------------------------
57
- ## Copyright (c) 2019 Dianomic Systems Inc.
57
+ ## Copyright (c) 2022 Dianomic Systems Inc.
58
58
##
59
59
## Licensed under the Apache License, Version 2.0 (the "License");
60
60
## you may not use this file except in compliance with the License.
@@ -87,7 +87,7 @@ PKG_NAME="__PACKAGE_NAME__"
87
87
#!/usr/bin/env bash
88
88
89
89
##--------------------------------------------------------------------
90
- ## Copyright (c) 2019 Dianomic Systems Inc.
90
+ ## Copyright (c) 2022 Dianomic Systems Inc.
91
91
##
92
92
## Licensed under the Apache License, Version 2.0 (the "License");
93
93
## you may not use this file except in compliance with the License.
@@ -128,11 +128,13 @@ if [ -f /usr/local/fledge/python/extras_install___PLUGIN_NAME__.sh ]; then
128
128
fi
129
129
130
130
# Install any Python dependencies
131
- if [ -f /usr/local /fledge/python /requirements-__PLUGIN_NAME__ .txt ]; then
131
+ if [ -f /usr/local /fledge/__INSTALL_DIR__ /requirements.txt ]; then
132
132
bash << EOF
133
133
scl enable rh-python36 bash
134
- pip install -Ir /usr/local /fledge/python /requirements-__PLUGIN_NAME__ .txt
134
+ pip install -Ir /usr/local /fledge/__INSTALL_DIR__ /requirements.txt
135
135
EOF
136
136
fi
137
137
138
+ echo __PLUGIN_NAME__ __PLUGIN_TYPE__ plugin is installed.
139
+
138
140
%files
0 commit comments