Author: branden Date: 2004-04-14 15:45:53 -0500 (Wed, 14 Apr 2004) New Revision: 1258
Modified: trunk/debian/changelog trunk/debian/xbase-clients.postinst.in trunk/debian/xfs.postinst.in trunk/debian/xlibmesa-gl.postrm.in trunk/debian/xlibmesa-glu.postrm.in Log: Source the debconf confmodule *before* setting variables local to maintainer scripts; the way confmodule works causes the values of any unexported variables already set to be lost (continuation of incomplete or regressed fix from 4.2.1-10). Modified: trunk/debian/changelog =================================================================== --- trunk/debian/changelog 2004-04-14 20:43:02 UTC (rev 1257) +++ trunk/debian/changelog 2004-04-14 20:45:53 UTC (rev 1258) @@ -198,8 +198,13 @@ to imply it's useful only for debconf commands. Update all script invocations of safe_debconf() to run(). - -- Branden Robinson <[EMAIL PROTECTED]> Wed, 14 Apr 2004 14:13:03 -0500 + * Source the debconf confmodule *before* setting variables local to + maintainer scripts; the way confmodule works causes the values of any + unexported variables already set to be lost (continuation of incomplete or + regressed fix from 4.2.1-10). + -- Branden Robinson <[EMAIL PROTECTED]> Wed, 14 Apr 2004 15:45:03 -0500 + xfree86 (4.3.0-7) unstable; urgency=medium * Urgency due to fix for FTBFS. Yes -- I too am begging for it to stop. Modified: trunk/debian/xbase-clients.postinst.in =================================================================== --- trunk/debian/xbase-clients.postinst.in 2004-04-14 20:43:02 UTC (rev 1257) +++ trunk/debian/xbase-clients.postinst.in 2004-04-14 20:45:53 UTC (rev 1258) @@ -9,14 +9,14 @@ set -e +# source debconf library +. /usr/share/debconf/confmodule + THIS_PACKAGE=xbase-clients THIS_SCRIPT=postinst #INCLUDE_SHELL_LIB# -# source debconf library -. /usr/share/debconf/confmodule - check_symlinks_and_bomb /usr/X11R6/lib/X11/xinit \ /usr/X11R6/lib/X11/xsm \ /etc/X11/xkb/compiled \ Modified: trunk/debian/xfs.postinst.in =================================================================== --- trunk/debian/xfs.postinst.in 2004-04-14 20:43:02 UTC (rev 1257) +++ trunk/debian/xfs.postinst.in 2004-04-14 20:45:53 UTC (rev 1258) @@ -9,14 +9,14 @@ set -e +# source debconf library +. /usr/share/debconf/confmodule + THIS_PACKAGE=xfs THIS_SCRIPT=postinst #INCLUDE_SHELL_LIB# -# source debconf library -. /usr/share/debconf/confmodule - check_symlinks_and_bomb /usr/X11R6/lib/X11/fs # now safe to finish migrations started in preinst Modified: trunk/debian/xlibmesa-gl.postrm.in =================================================================== --- trunk/debian/xlibmesa-gl.postrm.in 2004-04-14 20:43:02 UTC (rev 1257) +++ trunk/debian/xlibmesa-gl.postrm.in 2004-04-14 20:45:53 UTC (rev 1258) @@ -7,14 +7,14 @@ set -e +# source debconf library +. /usr/share/debconf/confmodule + THIS_PACKAGE=xlibmesa-gl THIS_SCRIPT=postrm #INCLUDE_SHELL_LIB# -# source debconf library -. /usr/share/debconf/confmodule - #DEBHELPER# if [ "$1" = "remove" ]; then Modified: trunk/debian/xlibmesa-glu.postrm.in =================================================================== --- trunk/debian/xlibmesa-glu.postrm.in 2004-04-14 20:43:02 UTC (rev 1257) +++ trunk/debian/xlibmesa-glu.postrm.in 2004-04-14 20:45:53 UTC (rev 1258) @@ -7,14 +7,14 @@ set -e +# source debconf library +. /usr/share/debconf/confmodule + THIS_PACKAGE=xlibmesa-glu THIS_SCRIPT=postrm #INCLUDE_SHELL_LIB# -# source debconf library -. /usr/share/debconf/confmodule - #DEBHELPER# if [ "$1" = "remove" ]; then