Skip to content

Commit

Permalink
revive USE_FOUNDATION handling in interchange-ui postinst to
Browse files Browse the repository at this point in the history
keep 4.8.x interchange-cat-foundation catalogs running
  • Loading branch information
racke committed Dec 7, 2003
1 parent 4e32ceb commit daf8819
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
3 changes: 3 additions & 0 deletions WHATSNEW
Expand Up @@ -159,6 +159,9 @@ Debian
/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


------------------------------------------------------------------------------

Expand Down
4 changes: 3 additions & 1 deletion debian/changelog
Expand Up @@ -4,8 +4,10 @@ interchange (5.0.0-1) unstable; urgency=low
* 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@linuxia.de> Sat, 6 Dec 2003 00:57:21 +0100
-- Stefan Hornburg (Racke) <racke@linuxia.de> Sun, 7 Dec 2003 02:59:18 +0100

interchange (4.9.9-1) unstable; urgency=low

Expand Down
14 changes: 13 additions & 1 deletion debian/interchange-ui.postinst
Expand Up @@ -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#

Expand Down

0 comments on commit daf8819

Please sign in to comment.