Omaha #3839 - Add script to /awips2/edex/bin/
Former-commit-id:d8eca1c90a
[formerlyefbdfa504b
] [formerly25cb96ec19
] [formerlyd8eca1c90a
[formerlyefbdfa504b
] [formerly25cb96ec19
] [formerlybb8a61a996
[formerly25cb96ec19
[formerly c215890342be6fed80d614e0a5853e8ce816a7f2]]]] Former-commit-id:bb8a61a996
Former-commit-id:d8a5867989
[formerlyc3b4d790a3
] [formerly 203e5232bfa641993a7e1096caa4b0ef2e4b3c3c [formerlyd405e4bfe1
]] Former-commit-id: a15a1e71e88b253a90d12a782b1761b2e7c40409 [formerly956a8fd092
] Former-commit-id:b0121df3bc
This commit is contained in:
parent
aff1854649
commit
76bbe51da6
1 changed files with 23 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
*** Installer.edex-component/component.spec 2015-02-02 15:31:30.696998251 -0600
|
||||
--- Installer.edex-datadelivery/component.spec 2015-02-02 15:35:06.923609297 -0600
|
||||
*** Installer.edex-component/component.spec 2015-02-03 16:00:27.487303049 -0600
|
||||
--- Installer.edex-datadelivery/component.spec 2015-02-03 17:49:00.775069314 -0600
|
||||
***************
|
||||
*** 6,13 ****
|
||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||
|
@ -37,7 +37,7 @@
|
|||
requires: awips2-edex-base
|
||||
requires: awips2-python
|
||||
***************
|
||||
*** 47,59 ****
|
||||
*** 47,56 ****
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
@ -48,10 +48,7 @@
|
|||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#create a list of all files packaged for /awips2/edex/data/utility
|
||||
UTILITY=/awips2/edex/data/utility
|
||||
--- 47,77 ----
|
||||
--- 47,85 ----
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
@ -72,17 +69,25 @@
|
|||
+ EDEX_DATADELIVERY="${INSTALLER_RPM}/awips2.edex/Installer.edex-datadelivery"
|
||||
+ cp -v ${EDEX_DATADELIVERY}/scripts/init.d/* \
|
||||
+ %{_build_root}/etc/init.d
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
+ if [ $? -ne 0 ]; then
|
||||
+ exit 1
|
||||
+ fi
|
||||
+ # rename the script to prevent naming conflicts during installation
|
||||
+ pushd . > /dev/null 2>&1
|
||||
+ cd %{_build_root}/etc/init.d
|
||||
+ mv edexServiceList edexServiceList-datadelivery
|
||||
+ popd > /dev/null 2>&1
|
||||
|
||||
#create a list of all files packaged for /awips2/edex/data/utility
|
||||
UTILITY=/awips2/edex/data/utility
|
||||
+
|
||||
+ #add central registry script
|
||||
+ mkdir -p %{_build_root}/awips2/edex/bin/
|
||||
+ if [ $? -ne 0 ]; then
|
||||
+ exit 1
|
||||
+ fi
|
||||
+
|
||||
+ cp -v %{_baseline_workspace}/deploy.edex-Data_Delivery/esb/bin/centralRegistryProviderCredentials.sh %{_build_root}/awips2/edex/bin/
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
***************
|
||||
*** 64,70 ****
|
||||
|
||||
|
@ -92,7 +97,7 @@
|
|||
|
||||
#change date stamp of utility files
|
||||
UTILITY=/awips2/edex/data/utility
|
||||
--- 82,98 ----
|
||||
--- 93,109 ----
|
||||
|
||||
%pre
|
||||
%post
|
||||
|
@ -112,7 +117,7 @@
|
|||
UTILITY=/awips2/edex/data/utility
|
||||
***************
|
||||
*** 78,83 ****
|
||||
--- 106,122 ----
|
||||
--- 117,133 ----
|
||||
fi
|
||||
|
||||
%preun
|
||||
|
@ -132,9 +137,11 @@
|
|||
%clean
|
||||
***************
|
||||
*** 88,90 ****
|
||||
--- 127,131 ----
|
||||
--- 138,144 ----
|
||||
%dir /awips2
|
||||
%dir /awips2/edex
|
||||
/awips2/edex/*
|
||||
+ %dir /awips2/edex/bin
|
||||
+ %attr(744, -, -) /awips2/edex/bin/centralRegistryProviderCredentials.sh
|
||||
+
|
||||
+ %attr(744,root,root) /etc/init.d/*
|
||||
|
|
Loading…
Add table
Reference in a new issue