~ldd/oowebdict/trunk

« back to all changes in this revision

Viewing changes to debian/prerm

  • 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.
24
23
 
25
24
# 'unopkg' registers and removes the language component to/from the
26
25
# OpenOffice.org. This is the full path name to it.
27
 
UNOPKG=/usr/lib/openoffice/program/unopkg
 
26
UNOPKG=/usr/lib/libreoffice/program/unopkg
 
27
OPENOFFICEORG=LibreOffice
 
28
 
 
29
if [ ! -e $UNOPKG ]
 
30
then
 
31
    # try OpenOffice
 
32
    UNOPKG=/usr/lib/openoffice/program/unopkg
 
33
    OPENOFFICEORG=OpenOffice.org
 
34
fi 
 
35
 
28
36
 
29
37
 
30
38
# Here we define a function that will display messages to user.