move manual data directory chmod to explicit rather than in %files for edex rpm install
This commit is contained in:
parent
adfc9a966c
commit
e0e7c78472
2 changed files with 4 additions and 2 deletions
|
@ -119,6 +119,7 @@ function restoreCAVEAndFail()
|
|||
echo "restoring backup COMPLETE: ${LOG_TIMESTAMP}"
|
||||
cleanupUnzip
|
||||
exit 1
|
||||
echo "function restoreCAVEAndFail complete"
|
||||
}
|
||||
|
||||
# Set all paths required by CAVE before installing.
|
||||
|
@ -135,7 +136,7 @@ export PATH=/awips2/java/bin:/awips2/python/bin:${PATH}
|
|||
export JAVA_HOME="/awips2/java/jre"
|
||||
|
||||
# Set the CAVE logfile location.
|
||||
export LOGFILE_CAVE=/dev/null
|
||||
export LOGFILE_CAVE=/awips2/cave/logs/
|
||||
|
||||
# Use the eclipse p2 manager.
|
||||
CAVE_EXE="/awips2/cave/cave"
|
||||
|
|
|
@ -146,6 +146,8 @@ if [ -d /awips2/.edex ]; then
|
|||
rm -rf /awips2/.edex
|
||||
fi
|
||||
|
||||
chmod 775 /awips2/edex/data/manual
|
||||
|
||||
%preun
|
||||
if [ "${1}" = "1" ]; then
|
||||
exit 0
|
||||
|
@ -174,7 +176,6 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
%dir /awips2/edex/logs
|
||||
%dir /awips2/edex/webapps
|
||||
|
||||
%attr(775,awips,fxalpha) /awips2/edex/data/manual
|
||||
|
||||
%defattr(755,awips,fxalpha,755)
|
||||
%dir /awips2/edex/bin
|
||||
|
|
Loading…
Add table
Reference in a new issue