Return-Path: X-Original-To: apmail-incubator-bigtop-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CBE197F4 for ; Mon, 19 Mar 2012 23:54:39 +0000 (UTC) Received: (qmail 49483 invoked by uid 500); 19 Mar 2012 23:54:39 -0000 Delivered-To: apmail-incubator-bigtop-commits-archive@incubator.apache.org Received: (qmail 49454 invoked by uid 500); 19 Mar 2012 23:54:39 -0000 Mailing-List: contact bigtop-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-commits@incubator.apache.org Received: (qmail 49444 invoked by uid 99); 19 Mar 2012 23:54:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 23:54:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Mar 2012 23:54:36 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 01C862388CFC; Mon, 19 Mar 2012 23:54:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: bigtop-commits@incubator.apache.org From: rvs@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120319235416.01C862388CFC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 - -