~vibhavp/ubuntu/raring/debian-med/merge-from-debian

« back to all changes in this revision

Viewing changes to debian/med-dent.postinst.stub

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Tille
  • Date: 2006-09-14 15:28:51 UTC
  • mfrom: (2.1.2 dapper)
  • Revision ID: james.westby@ubuntu.com-20060914152851-uk73iefm1uv1ts5i
Tags: 0.12
* Changed med-practice menu
  Closes: #385584
  Use menu entry for gnumed-client-debug that regards #389932.
  Note: gnumed-client-debug is not in the med-practice dependency
  list but it is suggested by gnumed-client.  So *if* the package
  is installed at the box then an additional menu item occures correctly
  in the Debian-Med menu.  If it is not installed, only gnumed-client
  is shown in the menu.
* med-bio: Added alternative to tree-puzzle as tree-ppuzzle
* Drop med-dent because odontolinux was removed from Debian
* med-bio: Added poa
           Moved vrom Suggests to Depends: seaview (now really free)
           Suggests: wise-doc
* med-imaging: Depends: libfslio0, libniftiio0, nifti-bin
               Suggests: 
* med-imaging-dev: Depends: libfslio0-dev, libniftiio0-dev
                   Suggests: libnifti-doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
CFGDIR=/etc/cdd/med/tasks/dent/
 
5
CFG=${CFGDIR}/odontolinux.conf
 
6
PKG=`basename $0 | sed -e 's/\.[^.]*$//'`
 
7
 
 
8
DEBCONF_DEBUG=developer
 
9
. /usr/share/debconf/confmodule
 
10
db_version 2.0
 
11
 
 
12
NEW=0
 
13
if [ -e "${CONF}" ]; then
 
14
   NEW=-1
 
15
   . ${CFG} || true 
 
16
fi
 
17
 
 
18
# Handle server variable in config file
 
19
db_get ${PKG}/server 
 
20
if [ ${NEW} ] ; then
 
21
    mkdir -p ${CFGDIR}
 
22
    cat > ${CFG} <<EOT
 
23
# Configuration for Odontolinux
 
24
# SERVER is the host which is running the Odontolinux system.
 
25
# The default host is localhost.
 
26
SERVER=$RET
 
27
EOT
 
28
fi
 
29
 
 
30
db_go
 
31
 
 
32
#DEBHELPER#