~ldd/oowebdict/trunk

« back to all changes in this revision

Viewing changes to debian/postinst

  • Committer: ldd at lddubeau
  • Date: 2011-04-22 23:56:20 UTC
  • mfrom: (3.1.5 oowebdict)
  • Revision ID: ldd@lddubeau.com-20110422235620-kx223tvhknlvx541
Tags: oowebdict-0.4
VersionĀ 0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
# Names used in messages
13
13
NAME_STRONG=oowebdict
14
14
NAME_WEAK=oowebdict
15
 
OPENOFFICEORG=OpenOffice.org
16
15
 
17
16
# This package's name in Debian package manager. This is also the name of the
18
17
# directory the language component is in.
25
24
 
26
25
# 'unopkg' registers and removes the language component to/from the
27
26
# OpenOffice.org. This is the full path name to it.
28
 
UNOPKG=/usr/lib//openoffice/program/unopkg
 
27
UNOPKG=/usr/lib/libreoffice/program/unopkg
 
28
OPENOFFICEORG=LibreOffice
29
29
 
 
30
if [ ! -e $UNOPKG ]
 
31
then
 
32
    # try OpenOffice
 
33
    UNOPKG=/usr/lib/openoffice/program/unopkg
 
34
    OPENOFFICEORG=OpenOffice.org
 
35
fi 
30
36
 
31
37
# Here we define a function that will display messages to user.
32
38