~ubuntu-branches/ubuntu/breezy/console-tools/breezy

« back to all changes in this revision

Viewing changes to debian/console-tools.postinst

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2005-03-18 16:09:42 UTC
  • Revision ID: package-import@ubuntu.com-20050318160942-7lhv4ulnu712fk63
Tags: 1:0.2.3dbs-55ubuntu5
* Do not make /etc/console-tools/config a conffile any more since it is
  modified by the installer and causes dpkg questions on upgrades (#6585):
  - debian/console-tools.install: Install configuration file into
    /usr/share/console-tools/.
  - debian/console-tools.postinst: Install config file if it is not yet
    present.
  - debian/console-tools.postrm: Remove config file on purge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
rm -rf /usr/share/doc/console-tools-libs
7
7
 
 
8
# Install configuration file if it is not already present
 
9
if [ ! -e /etc/console-tools/config ]; then
 
10
    install -D -m 644 /usr/share/console-tools/config /etc/console-tools/config
 
11
fi
 
12
 
8
13
#DEBHELPER#