incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1302726 - in /incubator/bigtop/trunk/bigtop-packages/src/deb/oozie: oozie-client.postinst oozie-client.prerm oozie.postinst oozie.prerm
Date Mon, 19 Mar 2012 23:54:15 GMT
Author: rvs
Date: Mon Mar 19 23:54:15 2012
New Revision: 1302726

URL: http://svn.apache.org/viewvc?rev=1302726&view=rev
Log:
BIGTOP-443. deb/oozie/oozie-client.postinst installs an alternative for a path that isn't
there (Patrick Taylor Ramsey via rvs)

Added:
    incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.prerm
      - copied, changed from r1302706, incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie-client.prerm
Removed:
    incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie-client.postinst
    incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie-client.prerm
Modified:
    incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst

Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst?rev=1302726&r1=1302725&r2=1302726&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.postinst Mon Mar 19 23:54:15
2012
@@ -38,6 +38,8 @@ case "$1" in
     configure)
         chown -R oozie:oozie /var/lib/oozie /var/log/oozie
         update-rc.d oozie defaults >/dev/null || exit 1
+
+        update-alternatives  --install /etc/oozie/conf oozie-conf /etc/oozie/conf.dist 30
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Copied: incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.prerm (from r1302706, incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie-client.prerm)
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.prerm?p2=incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.prerm&p1=incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie-client.prerm&r1=1302706&r2=1302726&rev=1302726&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie-client.prerm (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/oozie/oozie.prerm Mon Mar 19 23:54:15 2012
@@ -32,6 +32,10 @@ set -e
 # for details, see http://www.debian.org/doc/debian-policy/ or
 # the debian-policy package
 
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
 
 case "$1" in
     remove|upgrade|deconfigure)
@@ -47,11 +51,4 @@ case "$1" in
     ;;
 esac
 
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
 exit 0
-
-



Mime
View raw message