~ubuntu-core-dev/pkgsel/ubuntu

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: Colin Watson
  • Date: 2012-09-27 12:05:58 UTC
  • Revision ID: cjwatson@canonical.com-20120927120558-thfykj5ksv5oerd5
Install language-selector-common even for netboot installs, since we
need check-language-support (LP: #1056689).

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
        check_language_support=:
228
228
        langsupport=false
229
229
else
230
 
        if [ -f /cdrom/.disk/base_installable ]; then
231
 
                # Get check-language-support installed
232
 
                apt-install language-selector-common || true
233
 
        fi
 
230
        # Get check-language-support installed
 
231
        apt-install language-selector-common || true
234
232
        if chroot /target which check-language-support >/dev/null 2>&1; then
235
233
                check_language_support=:
236
234
        fi