~ubuntu-branches/ubuntu/karmic/pkgsel/karmic

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-09-06 10:49:20 UTC
  • Revision ID: james.westby@ubuntu.com-20080906104920-srgep9u6ne3exy50
Tags: 0.20ubuntu7
Allow preseeding pkgsel/language-packs to empty to indicate that no
language packs should be installed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
        apt-install landscape-client || true
114
114
fi
115
115
 
116
 
if db_get pkgsel/language-packs && [ "$RET" ]; then
 
116
if (db_fget pkgsel/language-packs && [ "$RET" = true ]) || \
 
117
   (db_get pkgsel/language-packs && [ "$RET" ]); then
 
118
        db_get pkgsel/language-packs
117
119
        langpacks="$(echo "$RET" | sed 's/,//g')"
118
120
elif db_get localechooser/supported-locales && [ "$RET" ]; then
119
121
        langpacks="$(for loc in $(echo "$RET" | sed 's/,//g'); do