~mvo/software-center/review-language-i18n

« back to all changes in this revision

Viewing changes to debian/software-center.postinst

  • Committer: Michael Vogt
  • Date: 2010-08-13 14:15:11 UTC
  • Revision ID: michael.vogt@ubuntu.com-20100813141511-lu26jxn0ewedg3xu
* debian/software-center.postinst:
  - run update-apt-xapian-index -u to ensure the xapian index
    is there (LP: #617397)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
    # update the application data
10
10
    update-software-center --triggered "$2" || true
11
 
 
12
11
    exit 0
13
12
fi
14
13
 
 
14
# make sure we update the index so that on first install
 
15
# we have something to show (LP: #617397)
 
16
if [ "$1" = "configure" ];then
 
17
    update-apt-xapian-index -u || true
 
18
fi
15
19
 
16
20
 
17
21