Author: rvs Date: Tue Mar 20 15:42:18 2012 New Revision: 1302945 URL: http://svn.apache.org/viewvc?rev=1302945&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/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.prerm - copied, changed from r1302944, incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie-client.prerm Removed: incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie-client.postinst incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie-client.prerm Modified: incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.postinst Modified: incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.postinst URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.postinst?rev=1302945&r1=1302944&r2=1302945&view=diff ============================================================================== --- incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.postinst (original) +++ incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.postinst Tue Mar 20 15:42:18 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/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.prerm (from r1302944, incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie-client.prerm) URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.prerm?p2=incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.prerm&p1=incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie-client.prerm&r1=1302944&r2=1302945&rev=1302945&view=diff ============================================================================== --- incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie-client.prerm (original) +++ incubator/bigtop/branches/branch-0.3/bigtop-packages/src/deb/oozie/oozie.prerm Tue Mar 20 15:42:18 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 - -