Author: rvs
Date: Fri Sep 2 21:32:32 2011
New Revision: 1164718
URL: http://svn.apache.org/viewvc?rev=1164718&view=rev
Log:
BIGTOP-73. oozie-client can't be safely removed on Debian
Modified:
incubator/bigtop/trunk/bigtop-packages/src/common/oozie/create-package-layout
Modified:
incubator/bigtop/trunk/bigtop-packages/src/common/oozie/create-package-layout
URL:
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/oozie/create-package-layout?rev=1164718&r1=1164717&r2=1164718&view=diff
==============================================================================
---
incubator/bigtop/trunk/bigtop-packages/src/common/oozie/create-package-layout
(original)
+++
incubator/bigtop/trunk/bigtop-packages/src/common/oozie/create-package-layout
Fri Sep 2 21:32:32 2011
@@ -196,13 +196,6 @@ install -d -m 0755 ${OOZIE_DATA}
failIfNotOK
cp -R ${OOZIE_BUILD_DIR}/bin/*.sh ${OOZIE_SERVER_DIR}/bin
-# We need to find a better way of doing this
-# for DEB dirs are different so we have to delete the examples from the server
-# for RPM dirs are the same and RPM SPEC selectively picks the scripts to add
-if [ "${OOZIE_CLIENT_DIR}" != "${OOZIE_SERVER_DIR}" ]; then
- rm ${OOZIE_SERVER_DIR}/bin/oozie-examples.sh
-fi
-
failIfNotOK
install -d -m 0755 ${OOZIE_CONF}
failIfNotOK