[interchange-cvs] interchange - racke modified 3 files
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Sat Dec 6 21:00:02 EST 2003
User: racke
Date: 2003-12-07 02:00:02 GMT
Modified: . WHATSNEW
Modified: debian changelog interchange-ui.postinst
Log:
revive USE_FOUNDATION handling in interchange-ui postinst to
keep 4.8.x interchange-cat-foundation catalogs running
Revision Changes Path
2.172 +3 -0 interchange/WHATSNEW
rev 2.172, prev_rev 2.171
Index: WHATSNEW
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW,v
retrieving revision 2.171
retrieving revision 2.172
diff -u -r2.171 -r2.172
--- WHATSNEW 7 Dec 2003 00:59:41 -0000 2.171
+++ WHATSNEW 7 Dec 2003 02:00:01 -0000 2.172
@@ -159,6 +159,9 @@
/etc/interchange/features.cfg in order to start Interchange
properly on systems with threaded Perl (Closes: #221939)
+* Revive USE_FOUNDATION handling in interchange-ui postinst to
+ keep 4.8.x interchange-cat-foundation catalogs running
+
------------------------------------------------------------------------------
2.48 +3 -1 interchange/debian/changelog
rev 2.48, prev_rev 2.47
Index: changelog
===================================================================
RCS file: /var/cvs/interchange/debian/changelog,v
retrieving revision 2.47
retrieving revision 2.48
diff -u -r2.47 -r2.48
--- changelog 6 Dec 2003 00:00:05 -0000 2.47
+++ changelog 7 Dec 2003 02:00:02 -0000 2.48
@@ -4,8 +4,10 @@
* Interchange variable MV_GETPPID_BROKEN has been added to
/etc/interchange/features.cfg in order to start Interchange properly
on systems with threaded Perl (Closes: #221939)
+ * revive USE_FOUNDATION handling in interchange-ui postinst to
+ keep 4.8.x interchange-cat-foundation catalogs running
- -- Stefan Hornburg (Racke) <racke at linuxia.de> Sat, 6 Dec 2003 00:57:21 +0100
+ -- Stefan Hornburg (Racke) <racke at linuxia.de> Sun, 7 Dec 2003 02:59:18 +0100
interchange (4.9.9-1) unstable; urgency=low
2.5 +13 -1 interchange/debian/interchange-ui.postinst
rev 2.5, prev_rev 2.4
Index: interchange-ui.postinst
===================================================================
RCS file: /var/cvs/interchange/debian/interchange-ui.postinst,v
retrieving revision 2.4
retrieving revision 2.5
diff -u -r2.4 -r2.5
--- interchange-ui.postinst 14 Jan 2003 15:21:40 -0000 2.4
+++ interchange-ui.postinst 7 Dec 2003 02:00:02 -0000 2.5
@@ -20,9 +20,21 @@
# Source debconf library
. /usr/share/debconf/confmodule
+# Check for installed foundation demo catalog and set configuration
+# variable accordingly (only for backwards compatibility to 4.8
+# interchange-cat-foundation packages)
+
+USE_FOUNDATION=
+if dpkg --status interchange-cat-foundation 2>/dev/null | grep -q '^Status: .* installed$'; then
+ db_get interchange-cat-foundation/install
+ if [ "$RET" = "true" ]; then
+ USE_FOUNDATION=1
+ fi
+fi
+
db_get interchange-ui/defaultlocale
UI_LOCALE=$RET
-/usr/sbin/interchangeconfig UI=1 UI_LOCALE=$UI_LOCALE
+/usr/sbin/interchangeconfig UI=1 UI_LOCALE=$UI_LOCALE USE_FOUNDATION=$USE_FOUNDATION
#DEBHELPER#
More information about the interchange-cvs
mailing list